Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

Is there a way to find out what parts are inside of one main part?

Asked by
0xygon 7
3 years ago

I need a way to find what parts are touching this one big part so that i can figure out if they are inside of it for htis thing im wokring on.

1 answer

Log in to vote
1
Answered by 3 years ago

You can always use the GetTouchingparts thing. I used it before and it basically gets a list of all the parts touching one part.

Here is a example:

local DetectionPart = game.Workspace.DetectionPart
local AllTouchingParts = DetectionPart:GetTouchingPart()
Ad

Answer this question