Add Clamp mathematical tool


#1

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.


#2

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.