The Perspective Tutorial

I did the perspective tutorial and everything worked fine, but when i tried to make the object move towards a horizon point, it wouldnt do it. Its hard to explain so here is the .fla file. If anyone can show me how to fix it that would be great! Thanks!

Assuming you want the square to go to the circle, just change your xcenter and ycenter variables to be the _x and _y position of the circle (instance name “offx”)

	xcenter = _root.offx._x;
	ycenter = _root.offx._y;

Also… PLEASE DON’T CROSSPOST!!! :scream:

Sorry, im new to all of this. But thanks for answering my question!

No problem man. Glad your problem was solved.