How to check for equal counters

How do you check to see if 2 counters equal each other? Then, once they’re the same they activate/deactivate something? (I’m terrible at block code).
So far I have it to where one counter increments value for people per game, and then I have another one that increases when someone is in a zone, but I don’t know how to check to see if they’re the same.
I need it to where everybody in the game is in the zone, so the barriers are removed.

maybe use 2 propertys?
when the counter goes up it updates property
and the block code on the trigger would be “when property=property” do smth

2 Likes

You could have one counter that decrements when someone enters the zone and have a target of 0.

1 Like

Thank you both, I’ll try both ideas.

1 Like

This topic was automatically closed 3 hours after the last reply. New replies are no longer allowed.