as/if/when the spirit moves you

(do something) as/if/when the spirit ˈmoves you

(do something) when you want to, rather than when you have to or are forced to: She works in the garden occasionally, when the spirit moves her.
See also: if, move, spirit