Home > Language Reference > System Functions > LockMouse

LockMouse

The LockMouse function locks the mouse.

Usage

Used to prevent any user mouse clicks during a script execution. Be aware that even the script is not able to simulate mouse clicks.

Syntax

LockMouse

Parameters

None.

Return value

None.

See also

UnLockMouse
LockKbd

Example

LockMouse