need help on a newbe question :D

hi all

i have a little question:

i’m a c++ programmer, but i’m having troubles for to create a basically procedure

i want that when i use the key “C” a popup appears on the player

and for to use this a have to use a variable called “CheckIfClicked”

if i click once that variable become true and popup appears, if i click again that variable become false and popup disappears

thanks for help :smiley:


You can easily do this in Blueprints using a FlipFlop node.


i must make a this in the playerstate ?

I would recommend Player Controller class.