Set a condition to compare variables

In my Multiplayer game each player has a deck of cards and need to flip their top cards in sync with each other.

I am trying too set the condition to say Player(x) cannot flip their next card unless their height of card stack is greater than or equal to all other Players(Y).

I have tried a few different ways to create variables to do this but nothing is working for me.

Is that a way to compare ObjectStack Heights?

Update:

I did manage to figure it out with scene variables. I think the problem was I was using Global variables and I wasn’t able to compare them I guess.

Write in the search compare numbers you will find it