Skip to content

Class Mouse

Kristian Virtanen edited this page Oct 18, 2024 · 5 revisions

Description:

The Mouse class provides a set of methods and properties to interact with the system mouse.

Methods:

  • 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.

Top

Clone this wiki locally