Up/Down Movement

Hello,

I want my charachter go up and down when I press q and e keyboard buttons. How can I do that? Below dpadUp function isn’t working.

Thank You!