> For the complete documentation index, see [llms.txt](https://profpivec.gitbook.io/documentation-and-tutorials/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://profpivec.gitbook.io/documentation-and-tutorials/game-creator/mobile-components-for-game-creator/actions/haptics.md).

# Haptics

Haptics is a fancy word for Vibrations. However, with the latest levels of operating systems and top of the line mobile devices, the Vibrations can be varied in strength and sharpness, as well as length.

The following Actions have been included in the Asset.

| Action Name                       | Description                                              |
| --------------------------------- | -------------------------------------------------------- |
| **Vibrate Mobile**                | This Actions executes the standard Unity Vibrate Mobile  |
| **Mobile Default Patterns**       | Executes one of the Six standard Patterns                |
| **Custom Mobile Set Patterns**    | Set the Strength and Length and Repeat after an Interval |
| **Custom Mobile Varied Patterns** | Execute a Varied Pattern from an Animation Curve.        |

The **Mobile Default Patterns** will differ from device to device but will include the following:

* Warning
* Error
* Success
* Light Hit
* Medium Hit
* Heavy Hit

The **Custom Mobile Set Patterns** Action allows you to set the Strength of the Vibration, and the length of time it is played for. On iOS 133 and above, you can also set the sharpness. The Action allows you to repeat the Vibration and sets an interval after each repeat.

![](/files/-MQXsoRCN26wGDGR51gf)

The **Custom Mobile Varied Patterns** Action allows you to set the Strength of the Vibration and the length of time from an Animation Curve. Click on the Animation curve to modify or create your own Custom pattern. This Action also allows you to repeat the Vibration and sets an interval after each repeat.

![](/files/-MQXtMTUJzJxNak3iaJS)

Haptics should always be tested out on each of the target devices as they will differ for each model, manufacture, and software version.

For more information, see [Example 1 - Haptics](/documentation-and-tutorials/game-creator/mobile-components-for-game-creator/examples/example-1-haptics.md).


---

# 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 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/actions/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.
