Answering this question from @cncclaytonw: https://scratch.mit.edu/users/colinmacc/#comments-244981259 See script and comments in the kriblo sprite.