Lingo Dictionary > L-N > lastRoll |  |

lastRoll

Syntax

    the lastRoll

Description

System property; gives the time in ticks (1 tick = 1/60 of a second) since the mouse was last moved.

Example

This statement checks whether 45 seconds have passed since the mouse was last moved and, if so, sends the playback head to the marker Attract Loop:

    if the lastRoll > 45 * 60 then go to "Attract Loop"

See also

`lastClick()`, `lastEvent()`, `lastKey`, `startTimer`