The phrase often suggests a spontaneous action, done without planning. I might join the game later, if the spirit moves me.
Pro Tip 2/3
Personal Desire
It emphasizes acting based on personal desire or inclination, not external pressure. Feel free to contribute to the discussion as the spirit moves you.
Pro Tip 3/3
Casual Invitation
Used in invitations to indicate the guest has the freedom to decide. Drop by for coffee anytime, when the spirit moves you.