Click the flag, I guess, then backpack the custom block and use it in your programs! :D
I noticed that @griffpatch made a block like this for the map in his text adventure, so I decided to reproduce the effect with my own code; the idea of making a smooth glide effect with trig appealed to me. Feel free to use with credit!