// Add a character controller to your object public CharacterController controller; if (controller.isGrounded) { // Jump 'FOR EXAMPLE' }