# Haptic feedback (vibration)

> Enhance user experience by triggering haptic feedback on iOS, Android, and mobile web formats, providing immediate tactile feedback and improved accessibility.

https://docs.pandasuite.com/essentials/interactions/haptic-feedback/

**This action triggers a vibration on the user's device, enhancing the sensation of tactile feedback. This feature is compatible with iOS, Android, and mobile web formats (except Safari).**

Haptic feedback improves the user experience by providing immediate tactile feedback, making interactions more intuitive and engaging. It draws attention to important notifications and enhances accessibility for visually impaired users.

[Image: Trigger haptic feedback action on the Try again button of a drag-and-drop game: Type Transient and Intensity Medium, framed]

To trigger haptic feedback:

- Choose a trigger object and add an action
- Select a [trigger event](https://docs.pandasuite.com/essentials/interactions/triggers/) based on this object
- Choose the action **Trigger haptic feedback**
- You have the choice between two types: **Transient** or **Continuous**
- If you choose **Transient**, you can select from various intensities: **Light**, **Medium**, **Heavy**, **Soft**, or **Rigid**.
- If you choose **Continuous**, click **Select** next to **Vibration pattern** to define a series of pulses, as a list of numbers (expressed in ms). Each value indicates a number of milliseconds of vibration or pause, alternating. You can provide a single value (to vibrate once for that number of milliseconds) or an array of values to alternately vibrate, pause, then vibrate again.

Here is the chart to ensure web compatibility with your target devices:

[Image: Browser support for the vibrate API: Chrome, Edge, Firefox, Opera and Android browsers support it, Safari and Safari on iOS do not]

Learn more: <https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate#browser_compatibility>
