Select spawned widgets with a certain bool set

Hey all,

first time posting here, I’ve got a blueprint setup to hover a card when it’s clicked. I’m trying to put in a limit to the amount of cards that can be hovered. I’ve posted the current code below which enables me to hover or unhover a card when a button is clicked in a widget. What I want to do is find a way to put a limit in, I tried setting a variable every time the button is clicked to add 1 to the variable and then put a branch in with the condition being if the variable is = to or greater than 5 the code doesn’t fire however this only seemed to increment the variable when one instance of the button was clicked when I want the variable to increase when I click multiple instances of this widget button. Any and all help would be appreciated and I’m happy to provide more screenshots or info to help me figure this out. Thankyou in advance :slight_smile: