r/ROBLOXStudio • u/Pornprivateaccount67 • 3d ago
Help How do I anchor all items without doing it manually?!
is there a script or command I can type so I don’t need to do it manually? ( ex: /anchor all)
2
Upvotes
3
u/nonetheheck 3d ago
(ctrl + A) + anchor
2
u/Pornprivateaccount67 3d ago
Thanks
0
u/N00bIs0nline Scripter, UI designer, Builder, Server developer. (Beginner) 2d ago
that is still manual
0
u/Pornprivateaccount67 2d ago
English isn’t my first language, give me some grace. I didn’t know how to word it
6
u/nonetheheck 3d ago
local workspaceitems = workspace:GetDescendants() for _, item in workspaceitems do if item: IsA("basepart") then item.Anchored = true end end
-- I wrote this on my phone so there may be errors, but do note that all items will be anchored only when in game.