# hitTest();

**URL:** https://forum.kirupa.com/t/hittest/267227
**Category:** flash
**Created:** [July 29, 2008, 10:28pm UTC](https://forum.kirupa.com/t/hittest/267227 "2008-07-29T22:28:14Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![webbhelp](https://avatars.discourse-cdn.com/v4/letter/w/4bbf92/32.png) [@webbhelp](https://forum.kirupa.com/u/webbhelp)
#### Post date: [July 29, 2008, 10:28pm UTC](https://forum.kirupa.com/t/hittest/267227/1 "2008-07-29T22:28:14Z")

</div>

Hi!

I want to check if a cursor roll over a movieclip!

My code:

```auto
cursor.startDrag("true");
Mouse.hide();

    if(cursor, hitTest(fel))
    {
        trace('HIT')
    }

```

When a test my flash, nothing happends when i the cursor is rolling over the movieclip: fel  
And in hitTest() is not blue lika a function in the actionscript box.

What is wrong?

Thanks //WebbHelp
