Murl Engine Lua Addon API  Version 1.0 beta
Murl.Input.IMotionDevice

The IMotionDevice interface.


Table members

Inherited


Murl.Input.IDevice

Methods


IsShaken()

Check if the device is shaken.

Boolean IsShaken()

Returns
Boolean true if the device is shaken.

WasShaken()

Check if the device was shaken in the most recent tick.

Boolean WasShaken()

Returns
Boolean true if the device was shaken in the most recent tick.