> 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/double-tap.md).

# Double Tap

Trigger an action when the user taps a layer twice in quick succession.

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

The **Double Tap** gesture runs an action when the user taps a layer twice in quick succession.

This is useful for patterns like:

* Double tap to like or favorite
* Hidden bonuses that reward a deliberate double tap
* Zoom or reveal moments in a game

### How it Works

Double Tap has one **Action** slot.

The first tap on the layer opens a window of about a third of a second. If the user lifts their finger exactly twice inside that window, the action fires.

* **The action fires at the end of the window,** not on the second tap. Expect a short delay of up to a third of a second.
* **Three or more taps fire nothing.** The window only counts exactly two.
* **The window starts on the first press.** A slow second tap that lands after the window closes does not count.

### Where You Can Use It

Double Tap is available on every layer type that supports interactions, including Images, Text, Shapes, Videos, Sequences, Groups and [Hotspots](https://help.craftsmanplus.com/play/layers/hotspots.md).

### Setting Up Double Tap

{% stepper %}
{% step %}

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

{% endstep %}

{% step %}

### Set the **Gesture** to **Double Tap.**

{% endstep %}

{% step %}

### Choose an **Action.**

{% endstep %}

{% step %}

### Preview and double tap the layer to test it.

{% endstep %}
{% endstepper %}

{% hint style="warning" %}
Avoid putting [Single Tap](https://help.craftsmanplus.com/play/properties/interactions/gestures/single-tap.md) on the same layer. Each tap of a double tap also fires Single Tap, so its action runs twice.
{% endhint %}

{% hint style="info" %}
Double Tap is not a compliant trigger for [Launch URL](https://help.craftsmanplus.com/play/general/actions/launch-url.md), [Launch App Store](broken://pages/BceD3nnJOe4CewmqequV) or [Call Number](https://help.craftsmanplus.com/play/general/actions/call-number.md). Use Single Tap for click-outs.
{% 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/double-tap.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.
