# Enum.UIDragDetectorBoundingBehavior

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

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

Used with [`UIDragDetector`](https://rapi.sleaze.dev/classes/UIDragDetector.md) to determine bounding behavior of the dragged UI object when [`UIDragDetector.BoundingUI`](https://rapi.sleaze.dev/classes/UIDragDetector.md) is set.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Automatic` | 0 | Mimics **EntireObject** behavior for a UI object that's entirely contained by the `BoundingUI`, or else **HitPoint** for a UI object that's partially outside the `BoundingUI`. |
| `EntireObject` | 1 | Bounds the entire dragged UI object within the `BoundingUI`. |
| `HitPoint` | 2 | Bounds the dragged UI only by the exact hit/grab point and its respective position after translation/rotation. |

## Used by

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

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