Just snap the Joystick sprite into ur project and tweak the "Distancia válida al mouse" variable to have a limit for the stick movement and in other sprites check for the "Distancia x de poder", "Distancia y de poder" and the "Distancia de poder" to know the distance x, y and distance in general from the stick to the center of the joystick base :D