Answer the question
In order to leave comments, you need to log in
Lock mouse inside window?
Hello.
I need to make a camera in a toy and now I don’t know how to handle the mouse correctly. How can you track that the user has moved the mouse somewhere? Permanently teleport mouse to 0 0 coordinates and watch changes from them? And at the same time, so that the mouse does not go beyond the window if the windowed game mode is enabled.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question