ReleaseMouse()

Syntax

ReleaseMouse(State)
Description
Locks or releases the mouse to allow its use under standard OS. This is typically called after checking the result of IsScreenActive() function.

Parameters

State If set to 1, the mouse is released, else the mouse is locked by the PureBasic program.

Return value

None.

See Also

IsScreenActive()

Supported OS

All

<- MouseY() - Mouse Index