Difference between revisions of "Controller:vibrate"

From GiderosMobile
Line 6: Line 6:
 
  Controller:vibrate(ms)
 
  Controller:vibrate(ms)
 
</source>
 
</source>
'''ms''': (number) time in miliseconds ''''''<br/>
+
=== Parameters ===
 +
'''ms''': (number) time in miliseconds <br/>

Revision as of 10:41, 23 August 2018

Available since: 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

 Controller:vibrate(ms)

Parameters

ms: (number) time in miliseconds