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: Trello
You could even write it as an extension using events.
Done for next release