The problem is that I am trying to get a variable from an actor blueprint and use it in the game mode blueprint. I tried to cast and also read the direct communication documentation but I don’t get how to solve this problem.
The thing is that the variable is a boolean. It is false until the pawn overlapps an actor, then it turns true. When that happens, I want the timer countdown to stop, and this countdown is set in the gamemode bp.