IsMouseCursorEnabled

From Onset Developer Wiki
Revision as of 10:30, 2 March 2020 by 28days (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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