Set boolean variables to default

How can i set a grup of boolean variables to default values?
I have 20 variables that i want to set them on false with just one command.
If i write them every time i loose space and time,thats the reason.

Its not working from game instance…forgot to say where i want to set default the variables

I wos in hurry to make it and missed that.
Its working,thank you!

You could make a function that takes in a boolean and then sets all those values. That way in the future you are only calling the function and it handles the work for you.

If you go into your blueprint where you are setting all these values, you can select them all, Right Click → Collapse Into Function.

You’re not executing the Cast (it needs to have the execution flow added to it after Add To Viewport and before your function).