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
| Name | Value | Description |
|---|---|---|
| Nobody | 0 | No players can interact with the DragDetector. |
| Everybody | 1 | All players can interact with the DragDetector. |
| Scriptable | 2 | Invokes 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.
| Field | Value |
|---|---|
| value | 0 |
Everybody
All players can interact with the DragDetector.
| Field | Value |
|---|---|
| value | 1 |
Scriptable
Invokes the function registered via DragDetector:SetPermissionPolicyFunction(), enabling/disabling the detector based on whether the function returns true or false.
| Field | Value |
|---|---|
| value | 2 |