CCMenu show selected image

CCMenu show selected image
0.0 0



This is what I’m trying to achieve: I want that the Selected image of a CCMenuItemImage shows as image in the CCMenu when someone presses that button. To show what has been selected. Then when someone presses another button in the menu it changes back to the normal image. As it is now it only shows selected when I press and then goes back to normal, I want it to stay as selected.

I can’t find a good solution. I tried working with CCMenuItemToggle, but it’s acting weird and fails running the selection function. Anyone knows a good way to achieve what I want?