There's something probably very easy but I can't get it right. I need to activate a series of switches while my platform character walks by them, but they all are the same object (several instances, logically). What I want is that, when they are overlapped, they change their frame, for example, and when not overlapping EACH OF THOSE, they go back to their original state. But, as overlapping gets every instance, unless my character completely stops overlapping any of the instances, they don't go back to the original frame.
Here's the capx http://www.filedropper.com/switchtest
Any help will be very appreciated.
Thanks in advance and best regards.
Add For each switch_sensor, and drag Overlapping and Else as subevents. Then it works.
Develop games in your browser. Powerful, performant & highly capable.
THANKS. It worked perfectly! I completely misunderstood the "for each" function.