Is there a way to ‘listen to’ where the mouse wanted to move even if there is no place for it? Basically telling the program the same data the touchpad or mouse would give the device.
I’ve seen cases where the page asked for cursor control.
My goal is to create a 2D environment where the camera would spin at the corresponding direction as the mouse is moved.
I thought one of my solutions could be making the cursor invisible with noCursor(), and at the end of every frame moving the mouse back to it’s normal place (meaning that there would be enough space for any movement and calculating the mouseXY before placing back.)
I couldn’t figure out how to do any of the listed above, so help would be very appreciated.