> 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.md).

# Gestures

Gestures are the user input that triggers an interaction: taps, swipes, drags and holds. Every gesture type, in one place.

A **Gesture** is the type of user input that triggers an interaction on a layer.

Gestures describe **how** someone interacts with a layer, like tapping, swiping, dragging or holding. Once a gesture is detected, PLAY runs the layer's assigned [Action](https://help.craftsmanplus.com/play/general/actions.md).

### Gesture Types

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><h4><strong>Single Tap</strong></h4></td><td>Triggers an action when the user taps or clicks a layer. The default, and the only gesture compliant for CTAs.</td><td><a href="https://help.craftsmanplus.com/play/properties/interactions/gestures/single-tap.md">Single Tap</a></td></tr><tr><td><h4><strong>Double Tap</strong></h4></td><td>Triggers an action when the user taps a layer twice in quick succession.</td><td><a href="https://help.craftsmanplus.com/play/properties/interactions/gestures/double-tap.md">Double Tap</a></td></tr><tr><td><h4><strong>Swipe</strong></h4></td><td>Triggers an action on a swipe in any direction, or up, down, left or right.</td><td><a href="https://help.craftsmanplus.com/play/properties/interactions/gestures/swipe.md">Swipe</a></td></tr><tr><td><h4><strong>Drag</strong></h4></td><td>Lets the user move a layer freely.</td><td><a href="https://help.craftsmanplus.com/play/properties/interactions/gestures/drag.md">Drag</a></td></tr><tr><td><h4><strong>Drag and Drop</strong></h4></td><td>Lets the user drag a layer onto a target, and triggers an action on a right drop.</td><td><a href="https://help.craftsmanplus.com/play/properties/interactions/gestures/drag-and-drop.md">Drag and Drop</a></td></tr><tr><td><h4><strong>Hold and Release</strong></h4></td><td>Triggers one action when the user presses and holds, and another action when the user releases.</td><td><a href="https://help.craftsmanplus.com/play/properties/interactions/gestures/hold-and-release.md">Hold and Release</a></td></tr></tbody></table>

### Gestures by Layer Type

Not every layer supports every gesture. The **Gesture** dropdown only lists the gestures the selected layer supports.

| Layer                                                                        | Gestures available                |
| ---------------------------------------------------------------------------- | --------------------------------- |
| Images, Text, Shapes, Videos, Sequences, Groups                              | All gestures                      |
| [Hotspots](https://help.craftsmanplus.com/play/layers/hotspots.md)           | Single Tap, Double Tap, Swipes    |
| Layers inside components                                                     | Single Tap, Double Tap, Swipes    |
| [Global layers](https://help.craftsmanplus.com/play/layers/global-layers.md) | All gestures except Drag and Drop |

### How Layers Receive Input

When layers overlap, only one of them receives the user's input.

* **The topmost interactive layer wins.** A layer is interactive when it has at least one interaction or a [Press Effect](https://help.craftsmanplus.com/play/properties/interactions/press-effect.md). Layers with neither are ignored, so they never block what is underneath.
* **An interactive layer blocks every gesture, not only its own.** A Single Tap button on top of a Swipe area stops swipes that start on the button.
* **Layers catch input across their whole rectangle.** Transparent areas of an image still count.
* **Hidden layers do not receive input.** This includes layers outside their time on the timeline, layers hidden by a [Hide Layer](https://help.craftsmanplus.com/play/general/actions/hide-show-layer.md) action, and layers set to a different orientation.
* **A Group with an interaction takes over its children.** Interactions on layers inside that group stop responding.

{% hint style="info" %}
Every interaction on a layer that matches the gesture runs, in list order. One gesture can run several actions this way.
{% 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.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.
