# Example 1 Haptics

The included Example for Haptics has two on start triggers. One will be enabled, the other will not.&#x20;

![](/files/-MQfu-5UtVLZWdiGR6rO)

The first Action set will play 5 Haptics, each after a 5 second wait. The first Haptic is a simple Vibrate, and the subsequent 4 are default Haptics selected from a dropdown.  These will vary depending on the device and the level of software.

![](/files/-MQfusbQZ2FmhAZemoDF)

The Second Action set will also play 5 Haptics, each after a 5 second wait. The first 4 arte Custom Haptics set by Strength and Length. For iOS devices running iOS 13 and above, you can also set the sharpness (This will be ignored for Android and other iOS devices). The repeat times and interval between repeat is also set.

![](/files/-MQfvduvdX8R5ujXmzKs)

The final Action Calculates the Strength and Length from an Animation Curve, allow you to visualise how the Vibration will feel.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://profpivec.gitbook.io/documentation-and-tutorials/game-creator/mobile-components-for-game-creator/examples/example-1-haptics.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
