I got a problem here mates, I'm working with a sprite(lets call it "amigo") whose coordinates are related to the mouse coordinates, and that sprite has to be restricted in a circular area.
Suposing that there is a sprite ("chain") whose coordinates are the center of the circunference, How Can I make that if "amigo" gets x distance away from "chain", "amigo" gets restricted in that circular area.
I'm letting here a picture that I hope it helpsMuch thanks people!