return true problem

I have added “return true” on a function, but the object behind the button gets “tapped” anyway… Any Ideas why? the function that is meant to be activated is “onHowToPlayTouch” , but “onMenuTap” also gets activated, even though I do have return true on “onHowToPlayTouch” http://pastebin.com/BVHt7qj6

Solved

I had to return the tap aswell as the touch :slight_smile:

This tutorial might be of value:   http://coronalabs.com/blog/2013/10/01/tutorial-taptouch-anatomy/

Rob

Solved

I had to return the tap aswell as the touch :slight_smile:

This tutorial might be of value:   http://coronalabs.com/blog/2013/10/01/tutorial-taptouch-anatomy/

Rob