Is there any way of makeing a local script to get children

Hello

I am trying to figure out a way to get the children in a model for a local script.

so i can just say box. Anchored = false then when clicked all the children inside the box get unanchored.
But the code for local box = game.workspace.box:getchildren doesn’t work the get children dosent even come up for a quick code

Box is the model inside of workspace and inside of box there is 4 different parts called parts

My code so far is
Local box = game.workspace.box

But i want it aomething like local box = game.workspace.box:getchildren

Is this even possible
Thank you

Not sure how this didn’t come to your mind, especially you nailed what the method is called.

3 Likes