I want to stop my sprite moving along a path when a specific distance from the end is reached (i.e. 300px from end point). Is this possible?
Compare two values:
Develop games in your browser. Powerful, performant & highly capable.
Thanks Katala, this worked great.