# Setting boundaries issue

**URL:** <https://forum.kirupa.com/t/setting-boundaries-issue/112433>\
**Category:** Uncategorized\
**Created:** [June 7, 2004, 7:05pm UTC](https://forum.kirupa.com/t/setting-boundaries-issue/112433 "2004-06-07T19:05:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![funkyfreshness](https://avatars.discourse-cdn.com/v4/letter/f/e9c0ed/32.png) [@funkyfreshness](https://forum.kirupa.com/u/funkyfreshness)\
**Post date:** [June 7, 2004, 7:05pm UTC](https://forum.kirupa.com/t/setting-boundaries-issue/112433/1 "2004-06-07T19:05:54Z")

</div>

I have an empty clip controlling another movie clip. I have it set to follow the mouse \_y position with easing. My movie is 620\*740 in dimensions.

My issue is, i dont want the clip to follow the mouse all up and down the entire movie, just the header area.

I have 4 frames in the controller clip. on the first frame i set the initial position of the clip.

\_root.but\_enter.\_y = 200;

On the 4th frame, i set the follow mouse actions…

```
_root.but_enter._y = _root.but_enter._y + ((_root._ymouse - _root.but_enter._y) / 10);
gotoAndPlay (2);

```

With the way I have it set up, can I set boundaries??
