szabesz
If you want a specific bottom button to intercept the clicks too, you can set this property : "Ignore Input" to false in the button behavior.
If you want this kind of behavior applied to ALL of your buttons project, then set "stop click propagation" to NO in the proui plugin propery panel, but you probably dont want that.
Aekiro
Thank you for your quick reply! Now I know what "Ignore input" means, I should have tried that, I guess.
If I set it to "No" then the event propagates to the sprite in the background as expected. So clicking on the sprite above the other one works this way. However, clicking on the sprite below the front one does not make the two behaviors work at the same time because the JS event does not propagate "backwards". The sprite on the front is transparent, so it does not receive the click event when clicking on a transparent area, I think.
So how is it possible to make this combo work no matter which sprite I click on? Am I missing something, perhaps?
I am happy to code it in JavaScript if that is the only way to solve it. Is there an interface for the button just like the Scirra behaviors have? Of course, if I can do it wihotut JavaScript, I am even more hapier that way.
Thanks in advance.