# Enum.UIDragDetectorResponseStyle

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

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

Describes how the clicked [`GuiObject`](https://rapi.sleaze.dev/classes/GuiObject.md) will be treated once the desired motion has been calculated.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Offset` | 0 | Move by the [`Offset`](https://rapi.sleaze.dev/enums/UIDragDetectorResponseStyle.md) values of the detector's parent's [`GuiObject.Position`](https://rapi.sleaze.dev/classes/GuiObject.md) value. |
| `Scale` | 1 | Move by the [`Scale`](https://rapi.sleaze.dev/enums/UIDragDetectorResponseStyle.md) values of the detector's parent's [`GuiObject.Position`](https://rapi.sleaze.dev/classes/GuiObject.md) value. |
| `CustomOffset` | 2 | The UI element will not move at all, but the [`Offset`](https://rapi.sleaze.dev/enums/UIDragDetectorResponseStyle.md) values of the detector's `DragUDim2` will still be updated and the detector's events will still fire, allowing you to respond to drag manipulation however you'd like. |
| `CustomScale` | 3 | The UI element will not move at all, but the [`Scale`](https://rapi.sleaze.dev/enums/UIDragDetectorResponseStyle.md) values of the detector's `DragUDim2` will still be updated and the detector's events will still fire, allowing you to respond to drag manipulation however you'd like. |

## 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 `ResponseStyle`
