Is There A Way To Change All Child Properties?
Like To Change All Parts Anchor Off In A Folder?
Is There A Way To Change All Child Properties?
Like To Change All Parts Anchor Off In A Folder?
Loop through the folder and change their properties:
local Folder = pathtofolderhere
for i, v in pairs(Folder:GetChildren()) do -- This will loop through all of the children of the folder.
-- v is a child of Folder, change v's properties.
end
Just loop through each child and change the property:
local folder = ...
for _, part in pairs(folder:GetChildren()) do
if part:IsA("BasePart") then
part.Anchored = false
end
end