Lastly we have update shovel. Note how we have to resave any spvar values we modify at the end. If the sprite goes offscreen it deletes itself. The Step variable is there to keep line length shorter and not calculate that value twice. This function is called for each shovel every frame. Hope this all makes sense let me know if you have questions.