# The Perspective Tutorial

**URL:** <https://forum.kirupa.com/t/the-perspective-tutorial/13268>\
**Category:** flash\
**Created:** [February 11, 2003, 2:07am UTC](https://forum.kirupa.com/t/the-perspective-tutorial/13268 "2003-02-11T02:07:58Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![session9](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@session9](https://forum.kirupa.com/u/session9)\
**Post date:** [February 11, 2003, 2:07am UTC](https://forum.kirupa.com/t/the-perspective-tutorial/13268/1 "2003-02-11T02:07:58Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 11, 2003, 3:15am UTC](https://forum.kirupa.com/t/the-perspective-tutorial/13268/2 "2003-02-11T03:15:14Z")

</div>

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”)

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

```

Also… PLEASE DON’T CROSSPOST!!! 😱

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 11, 2003, 9:50pm UTC](https://forum.kirupa.com/t/the-perspective-tutorial/13268/3 "2003-02-11T21:50:10Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [February 11, 2003, 10:28pm UTC](https://forum.kirupa.com/t/the-perspective-tutorial/13268/4 "2003-02-11T22:28:42Z")

</div>

No problem man. Glad your problem was solved.
