Small Basic: Reference Documentation > Mouse
 

 

Mouse

The mouse class provides accessors to get or set the mouse related properties, like the cursor position, pointer, etc.

Properties

  MouseX

Mouse.MouseX

Gets or sets the mouse cursor's x co-ordinate.

  MouseY

Mouse.MouseY

Gets or sets the mouse cursor's y co-ordinate.

  IsLeftButtonDown (This property is read-only.)

Mouse.IsLeftButtonDown

Gets whether or not the left button is pressed.

  IsRightButtonDown (This property is read-only.)

Mouse.IsRightButtonDown

Gets whether or not the right button is pressed.

Operations

  HideCursor

Mouse.HideCursor()

Hides the mouse cursor on the screen.

Returns

Nothing

  ShowCursor

Mouse.ShowCursor()

Shows the mouse cursors on the screen.

Returns

Nothing
 

See Also