Lingo Dictionary > L-N > lastEvent() |  |

lastEvent()

Syntax

    the lastEvent

Description

Function; returns the time in ticks (1 tick = 1/60 of a second) since the last mouse click, rollover, or key press occurred.

Example

This statement checks whether 10 seconds have passed since the last mouse click, rollover, or key press, and, if so sends the playback head to the marker Help:

    if the lastEvent > 10 * 60 then go to "Help"

See also

`lastClick()`, `lastKey`, `lastRoll`, `startTimer`