Lingo Dictionary > L-N > lastKey |  |

lastKey

Syntax

    the lastKey

Description

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

Example

This statement checks whether 10 seconds have passed since the last key was pressed and, if so, sends the playback head to the marker No Key:

    if the lastKey > 10 * 60 then go to "No Key"

See also

`lastClick()`, `lastEvent()`, `lastRoll`, `startTimer`