I'm currently working on a project but I have a problem while doing it. Well I have a draggable sprite(chameleon) that will overlap two different sprites(DayBackground and NightBackground) and when the draggable sprite(chameleon) overlap to the different sprites(DayBackground and NightBackground), it will trigger different actions.
Example: Draggable sprite(Chameleon) overlap one of the sprite(DayBackground), the draggable sprite(Chameleon) will destroy.
I've tried doing sub-events and separating the conditions to different events but it doesn't work. How do I solve my problem? I want to achieve two different actions (based on 2 different conditions) using the same draggable sprite.
The two different sprite(DayBackground and NightBackground) are overlapping but I've solved the problem by positioning them out of the layout when it is not needed.
You can see the file here: https://www.dropbox.com/s/6r462q08qiac24e/Animals.capx
Hope to hear from you guys soon!