the direction variable is so you can know the direction of the bullet arrows to move space to shoot L to change the direction of the bullet