just_pressed(btn) | The just pressed function is used when the user only wants the button to register once per press, and then reset upon release. |
just_released(btn) | This will return true whenever the button has been released. |
pressed(btn) | Returns true whenever the button is held down. Used when the user needs continuous input from the button. |
world_position() | Returns a vec2 of the current world coordinates of mouse. These are screen coordinates that have been converted. |
screen_position() | Returns a vec2 of the current screen coordinates of mouse. |
wheel_x() | If your mouse has a x wheel, this will return either 1 or -1 depending on the rotation direction. |
wheel_y() | Returns either 1 or -1 depending on the rotation direction. |