How to add variables to PlayerState?

There is already a class PlayerState with some variable (get ping, get is a bot, get score, get playername etccc…)

but if i want to add a variable PlayerColor ?

i cant see where to edit this in blueprint, i can create a PlayerState blueprint but how to use it by default?

Thanks

Go to the World Settings tab, and under Game Mode, check what class you’re using. You won’t see the PlayerState option here. But if you go to your own created Blueprint Game Mode or the default one. You should be able to see the option after expanding.

wow thanks, why is it hidden here?

To make UE4 more mysterious and awesome!