Lingo Dictionary > S > stillDown |  |

stillDown

Syntax

    the stillDown

Description

System property; indicates whether the user is pressing the mouse button (`TRUE`) or not (`FALSE`).

This function is useful within a `mouseDown` script to trigger certain events only after the `mouseUp` function.

Lingo cannot test `stillDown` when it is used inside a repeat loop. Use the `mouseDown` function inside repeat loops instead.

Example

This statement checks whether the mouse button is being pressed and calls the handler `dragProcedure` if it is:

    if the stillDown then dragProcedure

See also

`the mouseDown (system property)`