Might also post at AG.

Alright, what I need is a walkTo(int x1,int x2,int y1, int y2, int speed) void that would move something to x1 to x2 and to y1 to y2... I don't have any idea of how to do it, and I need it so much... I don't know much about trigonometry and such thing, so that's why I would need that one void... Help?

And no loop... It's for use for scripts and such things.

EDIT-Also, speed is how much to move the thing in pixels each time the void is executed.