How to unlock everything in a path using developer console?

I need a way to unlock everything in a model using developer console.
its game.Workspace.Frame :slight_smile:

1 Like

To get everything in an object use object:GetDescendants()
Or in your case:
local objects = game.Workspace.Frame:GetDescendants()

1 Like

so do I just put .Locked = false?

for _, p in pairs(workspace.Frame:GetDescendants()) do pcall(function() p.Anchored = false end) end