Problem with a "Whack a Mole" game

Hi there,

I’ve got a really simple problem that I’m hoping is only going to need a simple line of code to fix!

Basically, I have a movieclip hammer that replaces the cursor.

The hammer has a few mouse event listeners on it like detecting when the mouse click is down so that it can play the animation for whacking something.

The problem lies in it not detecting when you click on a mole…

I know it can easily be fixed by adding in -

hammer.mouseEnabled = false;
hammer.mouseChildren = false;

Which works great, now it detects the moles being clicked, but the animation doesnt work anymore because this code has also disabled the event listeners associated with it.

Does anyone know of any good alternative ways of being able to achieve both?

Thanks in advance!