If you CLICK the cat he takes a random amount of damage from 5 to 10. If you press SPACE on a toggle he will gain health and lose charge over time charge will restore. LEFT and RIGHT arrows move. My problem is jumping of you press Z you will jump but if you hold you fly a little help? Leave advice in the comment section. Now all I need is a way that if Z was pressed it'll wait until the cat has finished jumping and then gravity will come into effect and Z can't be pressed until he stops falling. THANK YOU!