I am currently creating a Joy Stick for a game, and I want my Joystick to be closed off in an invisible box so the user can drag it to a certain point only.
So for example
Here I wan't the joy stick to be dragged inside that box*
I tried using the Solid Behaviour but that didn't work for me!
So now users can drag the Joystick all over the screen
& here is my code
Was able to find a solution!