module Glint::Input::Mouse::Cursor
Overview
Utility module for managing cursor-related features.
Defined in:
glint/input/cursor.crClass Method Summary
-
.disable
Disables the cursor.
-
.enable
Enables the cursor.
-
.hidden? : Bool
Returns whether the cursor is hidden.
-
.hide
Hides the cursor.
-
.on_screen? : Bool
Returns whether the cursor is on the screen.
-
.position : Position
Returns the position of the cursor on the screen.
-
.show
Shows the cursor.
-
.visible? : Bool
Returns whether the cursor is visible.
-
.x : Number
Returns the x-position of the cursor on the screen.
-
.y : Number
Returns the y-position of the cursor on the screen.
Class Method Detail
Returns the position of the cursor on the screen.
Alias for Mouse.position
.
Returns the x-position of the cursor on the screen.
Alias for Mouse.x
.
Returns the y-position of the cursor on the screen.
Alias for Mouse.y
.