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

lastClick()

Syntax

    the lastClick

Description

Function; returns the time in ticks (1 tick = 1/60 of a second) since the mouse button was last pressed.

This function can be tested but not set.

Example

This statement checks whether 10 seconds have passed since the last mouse click and, if so, sends the playback head to the marker No Click:

    if the lastClick > 10 * 60 then go to "No Click"

See also

`lastEvent()`, `lastKey`, `lastRoll`, `startTimer`