# Can you detect when the mouse pointer becomes a hand cursor?

**URL:** <https://forum.kirupa.com/t/can-you-detect-when-the-mouse-pointer-becomes-a-hand-cursor/309472>\
**Category:** flash\
**Created:** [May 16, 2010, 6:11pm UTC](https://forum.kirupa.com/t/can-you-detect-when-the-mouse-pointer-becomes-a-hand-cursor/309472 "2010-05-16T18:11:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sofygrafe](https://avatars.discourse-cdn.com/v4/letter/s/e9c0ed/32.png) [@sofygrafe](https://forum.kirupa.com/u/sofygrafe)\
**Post date:** [May 16, 2010, 6:11pm UTC](https://forum.kirupa.com/t/can-you-detect-when-the-mouse-pointer-becomes-a-hand-cursor/309472/1 "2010-05-16T18:11:48Z")

</div>

I have a cursor class and i wanna make it so the cursor change to state ‘over’ whenever the hand cursor is there. I dont want to add an event listener for every roll over in my page.

something like :  
if(handCursorIsUsed)  
{  
//use over bmp  
}

Any idea?
