# Returning symbol to original position

**URL:** <https://forum.kirupa.com/t/returning-symbol-to-original-position/34238>\
**Category:** Uncategorized\
**Created:** [October 30, 2003, 6:14am UTC](https://forum.kirupa.com/t/returning-symbol-to-original-position/34238 "2003-10-30T06:14:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jaxies](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@jaxies](https://forum.kirupa.com/u/jaxies)\
**Post date:** [October 30, 2003, 6:14am UTC](https://forum.kirupa.com/t/returning-symbol-to-original-position/34238/1 "2003-10-30T06:14:20Z")

</div>

I was wondering how I would be able to return a symbol to it’s original position automatically because of a mouse rollover after gravity has been applied to it. Is there a tutorial for this? Thanks in advance for any help you might be able to provide.

---

<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:** [October 30, 2003, 8:02am UTC](https://forum.kirupa.com/t/returning-symbol-to-original-position/34238/2 "2003-10-30T08:02:35Z")

</div>

just set the current location of the symbol before it moves, then afterwards, or whenever, have it’s x and y equal to the original x and y.

Variable like this -

origY = this.\_y  
origX = this.\_x

////gravity script or whatever ///

on(press) /// or whatever you want  
{  
this.\_y = origY  
this.\_x = origX  
}

see what i’m saying???

----- is this your attempt at getting the “menu” pieces to go back to normal on mouseOver…from the example you gave in the other post?

---

<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:** [November 6, 2003, 5:36am UTC](https://forum.kirupa.com/t/returning-symbol-to-original-position/34238/3 "2003-11-06T05:36:32Z")

</div>

sorry for the delayed reply, but yes, it is
