How to Move my Pawn up on z axis on key press and return to its previous location on release

Sounds like we’re making a 3d arkanoid, how close is this:

Is bouncing allowed? If I hold the Jump key, do we stay up in the air?