Skip to content

Class Math

Kristian Virtanen edited this page Oct 16, 2024 · 6 revisions

Description:

The Mouse class provides a set of methods and properties to interact with the system mouse. This includes reading the mouse's position, detecting button clicks, and showing or hiding the mouse cursor.

Properties

Mouse.MouseX

  • Description: Gets or sets the X coordinate of the mouse cursor on the screen.

Mouse.MouseY

  • Description: Gets or sets the Y coordinate of the mouse cursor on the screen.

Mouse.IsLeftButtonDown

  • Description: Returns true if the left mouse button is currently pressed, otherwise false.

Mouse.IsRightButtonDown

  • Description: Returns true if the right mouse button is currently pressed, otherwise false.

Methods

Mouse.HideCursor()

  • Description: Hides the mouse cursor from the screen.

Mouse.ShowCursor()

  • Description: Shows the mouse cursor on the screen.

Top

Clone this wiki locally