FindPartsInRegion3WithIgnoreList (Method)

From Legacy Roblox Wiki
Jump to navigationJump to search

Ouch!
The following article, FindPartsInRegion3WithIgnoreList (Method), mentions a feature exclusive to certain versions of the client.
Specifically: Region3 was added in April 2011.


FindPartsInRegion3WithIgnoreList( Region3 region, Instance ignoreDescendentsTable, int maxParts = 20 )
Returns table
Description: Returns parts in the area defined by the Region3, up to specified maxParts or 100, whichever is less.
Member of: Workspace



Usage

  • The maxParts limit can range from 0 to 100 and is 20 by default.
  • Descendants of the ignoreDescendentsTable argument are not returned in the table, but still count towards the maxParts limit.
  • If the number of parts inside the Region3 are higher than the maxParts limit, then those extra parts will not be returned in the table.

See Also