The mouse's center button.
Contains the drag status of each of the mouse's buttons.
The amount of frames an input must be pressed to be considered held.
True if the mouse has ever interacted with the canvas.
True if the mouse is currently on the canvas.
The mouse's left button.
The mouse's right button.
Contains the scroll status of the mouse wheel.
The mouse's x position in the world.
The mouse's y position in the world.
Gets the mouse's current position in the world as a readonly object {x, y} that won't updated if the mouse moves.
The mouse's current position.
Optionalinp: stringtrue on the first frame that the user releases the input after dragging the mouse
Optionalinp: stringthe amount of frames the user has been moving the mouse while pressing the input
Optionalinp: stringtrue on the first frame that the user moves the mouse while pressing the input
Optionalinp: stringtrue on the first frame that the user released a held input
Optionalinp: stringthe amount of frames the user has been holding the input
Optionalinp: stringtrue on the first frame that the user holds the input
Optionalinp: stringtrue on the first frame that the user presses the input
Optionalinp: stringthe amount of frames the user has been pressing the input
Optionalinp: stringtrue on the first frame that the user released the input
Optionalinp: anytrue on the first frame that the user stops scrolling the mouse wheel
the amount of frames the user has been scrolling the mouse wheel
true on the first frame that the user scrolls the mouse wheel
The mouse's absolute position on the canvas.