this is my code to make my character jump, with isOnGround checking to see if they are in a position to jump.
My problem is when I use this code, it sets isOnGround to false, but doesn’t jump because isOnGround is false. Is there anyway to stagger it so the jump happens before the game flags isOnGround to false?