you click the flag button and the spirit will follow the mousse. to clear you can push the space key.
what I did here is based it of something Flamingjose4200 did and made it a little different.