# Detect MOUSE\_OVER on movieclip

**URL:** <https://forum.kirupa.com/t/detect-mouse-over-on-movieclip/244434>\
**Category:** flash\
**Created:** [November 18, 2007, 12:40am UTC](https://forum.kirupa.com/t/detect-mouse-over-on-movieclip/244434 "2007-11-18T00:40:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clot](https://avatars.discourse-cdn.com/v4/letter/c/e9c0ed/32.png) [@clot](https://forum.kirupa.com/u/clot)\
**Post date:** [November 18, 2007, 12:40am UTC](https://forum.kirupa.com/t/detect-mouse-over-on-movieclip/244434/1 "2007-11-18T00:40:17Z")

</div>

I’m assuming this is pretty straight forward but I’m not all that great with as3 yet.

I’d like to check if my mouse is currently over a movieclip.

Here’s what I have so far:

```auto
box_mc.addEventListener(MouseEvent.MOUSE_OVER, checkBoundaries);

function checkBoundaries(evt:MouseEvent)
{
        if(this.MOUSE_OVER != false){
        trace("true");
        }else {trace("false");}
};

```

This actually does give me a reading of true but not a reading of false if the mouse leaves the movieclip area.

Is there a better/simpler way to do this that works?
