I need to set UMG component visibility to hidden 4x before it disappears.

I have a UMG button which is supposed to make a piece of text disappear and make an actor move. On all four clicks the actor moves correctly, but the text doesn’t disappear until the 4th click, every single time. I already checked to make sure this wasn’t some time delay. What should I do?

If this helps, using a for-loop to automatically set the visibility 4x doesn’t work, and neither does using collapse instead of hide for the visibility.

Thanks in advance

You might have 4 copies of the widget in existence.
Can you find out if that’s the case? how many local players are there? maybe youre spawning it once, but do so in the playercontroller class and that makes it end up spawning 4 times for example.