void FixedUpdate() { //check to see if player is touching a ladder and presses up if (touchingLadder) { if (Input.GetAxisRaw("Vertical") != 0) { thePlayer.ladderClimb(new Vector2(transform.position.x, transform.position.y)); } } }