Skip to content

Device vibration Reference

This allows to trigger vibrations on mobile devices. Read more explanations about it.

Actions

Vibrate
Vibrate (Duration in ms).

See parameters
  • Parameter 0 (🔢 Number): Duration

Vibrate by pattern
Vibrate (Duration in ms). You can add multiple comma-separated values where every second value determines the period of silence between two vibrations. This is a string value so use quotes.

See parameters
  • Parameter 0 (string): Intervals (for example "500,100,200"

Stop vibration
Stop the vibration


The Device vibration extension is always installed in all GDevelop projects: there is no need to add it from the Project Manager.

This page is an auto-generated reference page about the Device vibration feature of GDevelop, the open-source, cross-platform game engine designed for everyone. Learn more about all GDevelop features here.