Getting an error trying to EnableInput on PlayerController

I tried moving what I had to the begin play and I no longer had an error, but the code doesn’t seem to work though.
So now I will try it the way you mentioned using InputKey it seems like this way is better.

I won’t need to set up an Input Controller if I do it this way? I am just curious, is it correct that you can either use InputKeys OR set up and InputController in the PlayerController file?
Either one will work and we are just using InputKeys because of the simplicity for my goal?

Btw thank you for the help, I appreciate it :smiley: