They player needs to tap once to jump, however, when the player holds instead of taps the character jumps higher. This result in hitting the enemy. How can I make sure that no matter when you tap or hold, that the character will have the same jump height?