Hey C-world. Below is a screenshot of my sandbox where I'm trying to figure out how to write the condition so that:
- All boxes with the boxes.onteam variable that equal yes
- must also have the boxes.coins variable equaling 1000
What's happening instead when I click the arrow box, is the boxes that have the .onteam = yes are subtracting their coins if .coins is greater than/equal to 1000.
Expectation is - If all the boxes that are .onteam = yes don't have .coins => 1000, nothing should happen.
I can't figure out how to write that condition. I've tried "for each", without "for each", etc with no success. Any help is appreciated.