Trigger haptic feedback (vibration)
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.
To trigger haptic feedback:
- Choose a trigger object and add an action
- Select a trigger event based on this object
- Choose the action Trigger haptic feedback
- You have the choice between two types: Simple or Series
- If you choose Simple, you can select from various intensities: Light, Medium, Heavy, Soft, or Rigid.
- If you choose Series, you can define a series of multiple pulses with parameters for different 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:
Learn more: https://developer.mozilla.org/en-US/docs/Web/API/Navigator/vibrate#browser_compatibility