Button malfunction

Can someone tell me why this isn’t working correctly. I made a button myself from four different images and I used a scene variable to change the image animation when the button was clicked. It worked just fine initially but once I added all the other events /code it started malfunctioning. There are 10 different buttons all exactly the same each for different players and now when you click one button to change its animation it changes three or four other buttons animation or doesn’t change at all.


try to use “repeat to each object” for conditions, maybe it will help

Get rid of this repeat event, and replace it with a normal event with a “ControlButtons is clicked” condition. You don’t need the trigger once either:

image

Because it makes no sense to repeat over each button - only one will get clicked at a time unless you have overlapping buttons.

I did choose " repeat for each object". When I choose “repeat for each object” it automatically uses the words “repeat for each instance”.