Controller:vibrate

Available since version: Gideros 2014.01

Description:

Vibrate the controller for provided amount of miliseconds. Works only if it is supported by the platform and controller, don't rely on it to work, and only use as addition to the game play

Syntax:

Controller:vibrate(ms)

Parameters:

  • ms: (number) time in miliseconds