Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
button touch event error when buttons overlap #18852
I’m having problems with buttons events.
It works fine.
One of the buttons that I added in the window, is overlapped with the Play button, because, despite of I’m “simulating” a window with a layer, the scene is the same.
This is the event that I defined in the button (window button):
The problem is, when I touch the window button, the action is the event that I defined for Play button instead of the event that I defined for window button.
This is because the buttons are overlapped.
Look this image,