I am tryin to make a character jump , i can make it jump but u can carry on jumping by pressin the jump button and end up out of view. how do i make the character jump just the once and land on the floor and be able to jump again once the character hits the floor ?? help plz

iv done it the same way its done on the caveman tutorial