How to play a sound effect for MenuItem down

Hi,

I am looking for a way to place a click sound when the finger is touching the MenuItem (not leaving or going up).
However I cannot find a callback/selector for that action.
Any ideas?

Cheers!

You can call “playEffect()” in the menu item callback function.

To play sound effect on item down, inherit the CCMenuItem and overload the ccTouchBegan() function.

Liu Huang wrote:

To play sound effect on item down, inherit the CCMenuItem and overload the ccTouchBegan() function.

Cheers :slight_smile: Thought I had missed something