Skip to content
InstancesOverviewNew · 0.744

isprotected

Describe an interface object's local protection classification.

Details#

Checks whether an object is recognized by the module's protected-UI handling. This classification is separate from an Instance's ordinary properties and from the permissions of an account.

Examples#

Example

Luau
local gui = Instance.new("ScreenGui")
print(isprotected(gui))
gui:Destroy()