Use W and S key to move up and down(if the target is inside the character). Use Space key to shoot targets.
I'm gonna try and keep teaching myself how to code(or watch tutorials on how to code). This is only the beginning.