Hey,
Could any kind person explain to me the simplest way to restrict one sprites movement to be within the confines of another sprite? i.e. like in a virtual thumbstick?
I'm trying to get the top sprite to be able to be dragged within the boundary created by the larger sprite below and snap back to its original location when you let go again.
Thanks