how to save changes to a boolean variable?

[…](when the blueprint is clicked, the value changes to true), then I would like to transfer the value to a function in Gamemode

  • in the game mode:

  • in the actor: