Mouse

open class Mouse

Utilities related to the virtual mouse.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
Represents an entity clicking method

Functions

Link copied to clipboard
Gets the set click method.
Link copied to clipboard
open fun getSpeed(): Int
Gets the set mouse speed.
Link copied to clipboard
open fun isOnScreen(): Boolean
Determines if the mouse is on screen or not.
Link copied to clipboard
open fun leaveScreen()
Makes the mouse move offscreen.
Link copied to clipboard
open fun setClickMethod(clickMethod: Mouse.ClickMethod)
Sets the click method.
Link copied to clipboard
open fun setSpeed(speed: Int)
Sets the mouse speed.