-
Notifications
You must be signed in to change notification settings - Fork 0
Class Mouse
Kristian Virtanen edited this page Oct 18, 2024
·
5 revisions
The Mouse class provides a set of methods and properties to interact with the system mouse.
Mouse.MouseX- Gets or sets the X coordinate of the mouse cursor on the screen.
Mouse.MouseY- Gets or sets the Y coordinate of the mouse cursor on the screen.
Mouse.IsLeftButtonDown- Returns true if left button is down, false if not.
Mouse.IsRightButtonDown- Returns true if right button is down, false if not.
Mouse.HideCursor()- Hides mouse cursor from screen.
Mouse.ShowCursor()- Shows the mouse cursors on the screen.