So I have been trying to use new input system instead of the old one because it was too easy to deal with but now that I am watching this old one, here I do not know how to stop the audio in the else part because I cannot get the space key code in the new input system.
Is there any fix for that ?
What I am trying however is using old input system with the new input system which seems not the right way but it is working for now