> For the complete documentation index, see [llms.txt](https://help.craftsmanplus.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.craftsmanplus.com/play/properties/interactions/gestures/drag.md).

# Drag

Let the user move a layer freely with their finger or mouse.

<figure><img src="https://3019081569-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FZBycFFNxrdS0X9OsGtmT%2Fuploads%2Fgit-blob-72c2d859ed6a367ec1f807336c8145ee1e5fb566%2Fgestures-drag.png?alt=media" alt="The Interaction Properties popup with the Drag gesture selected"><figcaption></figcaption></figure>

The **Drag** gesture lets the user pick up a layer and move it around the screen. The layer follows the finger and stays where it is released.

This is useful for patterns like:

* Free-form decorating, like placing stickers or furniture
* Moving objects out of the way to reveal what is underneath
* Tactile, playful moments that do not need an outcome

To check where the layer is dropped and run an action, use [Drag and Drop](https://help.craftsmanplus.com/play/properties/interactions/gestures/drag-and-drop.md) instead.

### How it Works

Drag has a single setting, **Drop Animation**, which plays when the user releases the layer. Choose from:

* **Select Animation...** (none, the default)
* **Blink**, **Bounce**, **Bubble**, **Pulse**, **Rotate**, **Slide**, **Shake** or **Squish**

Drag has **no Action slot**. Switching an existing interaction to Drag clears its action.

The layer starts following the finger as soon as the user presses on it, and keeps following until they let go.

* **The layer is not limited to the artboard.** Users can drag it partly or fully off screen.
* **Dragging is ignored while the layer's enter or exit** [**animation**](https://help.craftsmanplus.com/play/properties/animations.md) **is playing.**
* **A second finger stops the drag.** The layer stays where it was and no Drop Animation plays.

### Where You Can Use It

Drag is available on Images, Text, Shapes, Videos, Sequences and Groups. It is not available on [Hotspots](https://help.craftsmanplus.com/play/layers/hotspots.md) or on layers inside components.

### Setting Up Drag

{% stepper %}
{% step %}

### Select a layer and click **+** in the Interactions section.

{% endstep %}

{% step %}

### Set the **Gesture** to **Drag.**

{% endstep %}

{% step %}

### Optionally, choose a **Drop Animation.**

{% endstep %}

{% step %}

### Preview and drag the layer to test it.

{% endstep %}
{% endstepper %}

{% hint style="info" %}
A [Press Effect](https://help.craftsmanplus.com/play/properties/interactions/press-effect.md) on the layer shows for as long as it is held, which makes a good "picked up" state for draggable items.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://help.craftsmanplus.com/play/properties/interactions/gestures/drag.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
