# Enum.DragDetectorPermissionPolicy

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/DragDetectorPermissionPolicy/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/DragDetectorPermissionPolicy

Used to control the permission level for which players can interact with a [`DragDetector`](https://rapi.sleaze.dev/classes/DragDetector.md).

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Nobody` | 0 | No players can interact with the [`DragDetector`](https://rapi.sleaze.dev/classes/DragDetector.md). |
| `Everybody` | 1 | All players can interact with the [`DragDetector`](https://rapi.sleaze.dev/classes/DragDetector.md). |
| `Scriptable` | 2 | Invokes the function registered via [`DragDetector:SetPermissionPolicyFunction()`](https://rapi.sleaze.dev/classes/DragDetector.md), enabling/disabling the detector based on whether the function returns `true` or `false`. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [DragDetector](https://rapi.sleaze.dev/classes/DragDetector.md): property `PermissionPolicy`
