Skip to content

Class Mouse

Kristian Virtanen edited this page Oct 28, 2024 · 5 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.
  • Differences from orig. SB: none.

Mouse.MouseY

  • Description: Gets or sets the Y coordinate of the mouse cursor on the screen.
  • Differences from orig. SB: none.

Mouse.IsLeftButtonDown

  • Description: Returns true if the left mouse button is currently pressed, otherwise false.
  • Differences from orig. SB: none.

Mouse.IsRightButtonDown

  • Description: Returns true if the right mouse button is currently pressed, otherwise false.
  • Differences from orig. SB: none.

Methods

Mouse.HideCursor

  • Description: Hides the mouse cursor from the screen.
  • Differences from orig. SB: SBOE returns true or false depending of succes.

Mouse.ShowCursor

  • Description: Shows the mouse cursor on the screen.
  • Differences from orig. SB: SBOE returns true or false depending of succes.

Top

Clone this wiki locally