How do you find the direction from one point to another?

I don't know trig.

get the x of pos. 2 and subtract it by pos 1. get the neg of the answer. same goes for y.

That's the distance, not the direction.

oh whoops. make a clone that points to a specific point and grab the direction.

Yes, but what if the sprite isn't in the first position?

:frowning:
you better learn that
atan2((y2-y1)/(x2-x1))

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.