> For the complete documentation index, see [llms.txt](https://fast-studios.gitbook.io/press-e/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://fast-studios.gitbook.io/press-e/manual/components/interactable/drag.md).

# Drag

**Drag** has two types: **Position** and **Rotation**. It’s always **1D** (a **single axis** per interaction). Because model export/orientation can differ, **enable gizmos** to verify the chosen axis is correct.

## Main Tab

* **Type**: selects the drag type (**Position** or **Rotation**).
* **Axis**: chooses **which axis** is affected. Since drag is 1D, pick from **Forward/Back**, **Left/Right**, or **Up/Down**. Use gizmos to confirm orientation (models don’t always map “Left/Right” as expected).

### Distance

Sets the **maximum interaction distance**. Beyond this range, you **no longer control** the object via drag.

### Steps

Creates **snapped positions/angles** along the 0–1 clamp.\
Example: with **3 steps** on a **Position** drag, the object snaps to **0**, **0.5f**, and **1**.

## UI Tab

### While Interacting

When using Drag, the **While Interacting** foldout appears under **UI Tab**:

* **Offset**: applies an **offset** to the prompt’s final position.
* **Override Image Sprite**: changes the **sprite** on the **UIPrefab**’s `Image`.
* **Override Image Color**: changes the **color** on the `Image`.
* **Override Image Size**: changes the **size** on the `Image`.
* **Override Interaction Prefab**: replaces the **interaction prefab** to be instantiated.
* **Will Override UI Anchor**: set this if you need to **change the anchor** the **UIPrefab** follows during dr

## Events Tab

* **On End Event**: invoked **when the player releases** the object.
