why did you need to add mouse as a neccessary input when there is no aiming involved? You could have just mapped attack to z or x, that would have been much easier