I have 2 objects on a layout: a player and a mouse pointer sprite.
The player and the mouse pointer sprite both have the "center view on me" setting.
So the view tries to keep both the player and the mouse pointer on it.
But it havn't limits: if I want my game on a window, when the mouse go out of it, the view center on the mouse pointer and the player is out of the view.
How can I limit the movement of the mouse by a certain range?