Enum
Enum.UIDragDetectorBoundingBehavior
Used with UIDragDetector to determine bounding behavior of the dragged UI object when UIDragDetector.BoundingUI is set.
| Item | Value | Summary |
|---|---|---|
| Enum.UIDragDetectorBoundingBehavior.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. |
| Enum.UIDragDetectorBoundingBehavior.EntireObject | 1 | Bounds the entire dragged UI object within the BoundingUI. |
| Enum.UIDragDetectorBoundingBehavior.HitPoint | 2 | Bounds the dragged UI only by the exact hit/grab point and its respective position after translation/rotation. |
Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com.