FindPartsInRegion3 (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{NonStandard|reason=Region3 was added in April 2011.}} | |||
<onlyinclude>{{Method | <onlyinclude>{{Method | ||
|name = FindPartsInRegion3 | |name = FindPartsInRegion3 |
Latest revision as of 19:58, 18 November 2023
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.