1 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

DragDetectorPermissionPolicy

Used to control the permission level for which players can interact with a DragDetector through its PermissionPolicy property.

Items

NameValueDescription
Nobody0No players can interact with the DragDetector.
Everybody1All players can interact with the DragDetector.
Scriptable2Invokes the function registered via DragDetector:SetPermissionPolicyFunction(), enabling/disabling the detector based on whether the function returns true or false.

Nobody

No players can interact with the DragDetector.

FieldValue
value0

Everybody

All players can interact with the DragDetector.

FieldValue
value1

Scriptable

Invokes the function registered via DragDetector:SetPermissionPolicyFunction(), enabling/disabling the detector based on whether the function returns true or false.

FieldValue
value2