FindPartsInRegion3 (Method)
From Legacy Roblox Wiki
Jump to navigationJump to search
Ouch! |
FindPartsInRegion3( Region3 region, Instance ignoreDescendentsInstance, int maxParts = 20 ) | |
Returns | table |
Description: | Returns a table filled with parts inside the Region3. |
Member of: | Workspace |
Usage
- The maxParts limit can range from 0 to 100 and is 20 by default.
- Descendants of the ignoreDescendentsInstance 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.