IsMouseCursorEnabled

From Onset Developer Wiki
IsMouseCursorEnabled

Type: Function
Context: Client
Introduced: v1.0

Description

Check if the player's mouse cursor is enabled.

Syntax

IsMouseCursorEnabled()

Parameters

  • This function has no parameters.

Return Value

  • Returns true on success.

Example

if IsMouseCursorEnabled() == false then -- If mouse cursor is not enabled
    ShowMouseCursor(true) -- Enable it
end

See also