# Quick help

**URL:** <https://forum.kirupa.com/t/quick-help/174712>\
**Category:** Uncategorized\
**Created:** [January 8, 2006, 1:06pm UTC](https://forum.kirupa.com/t/quick-help/174712 "2006-01-08T13:06:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mayjarboi](https://avatars.discourse-cdn.com/v4/letter/m/7c8e57/32.png) [@mayjarboi](https://forum.kirupa.com/u/mayjarboi)\
**Post date:** [January 8, 2006, 1:06pm UTC](https://forum.kirupa.com/t/quick-help/174712/1 "2006-01-08T13:06:21Z")

</div>

> onClipEvent (load) {  
> X = \_x;  
> }  
> onClipEvent (enterFrame) {  
> if (\_root.player.\_x\>\_x) {  
> this.\_x += 20 && \_x\>80;  
> gotoAndStop(“Ape Roll”);  
> }  
> }

how do i make move towards the player a certain limit so that it stops when near the player and not on the player
