So you can use Clamp to limiting a position to an area. its a good way to prevent your player to go out of your screen/canvas.
Would be quite easy to add, added a card if someone want to try it: https://trello.com/c/CO42UG0b/345-add-a-clamp-function
You could even write it as an extension using events.
Bouh closed #3
Done for next release