# \[ActionScript 2\] - how to detect if one movieclip has moved higher than the other

**URL:** <https://forum.kirupa.com/t/actionscript-2-how-to-detect-if-one-movieclip-has-moved-higher-than-the-other/287790>\
**Category:** flash\
**Created:** [May 6, 2009, 9:22am UTC](https://forum.kirupa.com/t/actionscript-2-how-to-detect-if-one-movieclip-has-moved-higher-than-the-other/287790 "2009-05-06T09:22:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![AniKar](https://avatars.discourse-cdn.com/v4/letter/a/2bfe46/32.png) [@AniKar](https://forum.kirupa.com/u/AniKar)\
**Post date:** [May 6, 2009, 9:22am UTC](https://forum.kirupa.com/t/actionscript-2-how-to-detect-if-one-movieclip-has-moved-higher-than-the-other/287790/1 "2009-05-06T09:22:30Z")

</div>

Hi All,

I really need some help here :crying:. Am just a begineer with Actionscript but am picking up quite quickly. I been racking my brains and can’t seem to find a solution. Basiaclly I’ve got 5 movieclips on the stage which are draggable. How can i get a message to appear in a text box if the first movieclip is moved higher than the second movie clip? Any ideas anyone?

Thanx Guys,

AniKar
