Skip to content

Device vibration

These actions give you access to the vibration functionality on mobile devices.

Vibration is supported on these devices:

HTML web games:

  • Android: Yes
  • Apple iOS: No

Native mobile apps:

  • Android: Yes
  • Apple iOS: Yes


The gamepad extension can be used to control vibration on game controllers.



This action vibrates the device once by the given value in milliseconds. (numerical value).

Vibrate by pattern

This action vibrates the device in a pattern. Every first value represents the time of vibration, every second the time of silence. Each value must be given in milliseconds as a comma-separated list of numerical values. Don't forget the quotation marks!


Example: "1000,500,1000"

One second of vibration, followed by half a second of silence and then one more second of vibration.

Stop vibration

This action stops the vibration after the current pattern interval.


All actions, conditions and expressions are listed in the device vibration reference page.