Controller:vibrate

From GiderosMobile
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Available since: Gideros 2014.01
Class: Controller

Description

Vibrates the controller for provided amount of miliseconds.

Controller:vibrate(ms)

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.

Parameters

ms: (number) time in miliseconds