Locke defines liberty as the ability to act or refrain from action according to the will. The will, for Locke is our capacity to “order the consideration of any Idea” or the ability to “prefer the motion of any body to its rest.” The will is a faculty of the mind, not an independent agent, and we should take care not to mistake faculties for agents, or we'll fall into confusion. Only beings capable of thought or volition can rightly be said to possess liberty. Liberty is not possible for inanimate objects. A tennis ball, for example, is not taken by anyone to be an agent with volition; we do not attribute its motion or rest to its acting according to choice.