Enums§
- Button
- An enum representing a mouse button
- Delta
Mode - Mouse
Event - An event related to the mouse
Functions§
- are_
mouse_ events_ recorded - Return true if your program already called start_recording_mouse_events() in the past.
- get_
mouse_ position - Return the current position of the mouse. Make sure you called start_recording_mouse_events() before.
- is_
mouse_ in_ canvas - Return false if the mouse is outsite the tab. Make sure you called start_recording_mouse_events() before.
- is_
pressed - Return true if the button of the mouse is currently pressed. Make sure you called start_recording_mouse_events() before.
- start_
recording_ mouse_ events - Start recording mouse events in real time. This cannot be stopped! It allows you to use these functions. You may want to use are_mouse_events_recorded() to check if your program already called this function in the past.