I'm trying to clean up some code that has a ton of if statements with a ton of:
I thought you could clean it up by putting it in a variable:
var pressUp = Input.is_action_pressed("ui_up")
It does not seem to work. It lets me run the game, but the inputs stop working. I'm pretty sure I'm missing something simple.