# Rollover Movement

**URL:** https://forum.kirupa.com/t/rollover-movement/30011
**Category:** flash
**Created:** [September 2, 2003, 10:53pm UTC](https://forum.kirupa.com/t/rollover-movement/30011 "2003-09-02T22:53:04Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)
#### Post date: [September 2, 2003, 10:53pm UTC](https://forum.kirupa.com/t/rollover-movement/30011/1 "2003-09-02T22:53:04Z")

</div>

Ok lets say I have 3 buttons and an arrow directly on top-middle of the 1st button. How do I make it so that when I rollover anyone of those buttons, it goes to the middle of it? Only its x position is changing…

---

<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: [September 2, 2003, 10:54pm UTC](https://forum.kirupa.com/t/rollover-movement/30011/2 "2003-09-02T22:54:49Z")

</div>

```auto
on(rollover) {
_root.arrow._x = 200;
}

```

replace 200 with the x you want
