Added click function, which simulates a character's movement potential.