I used a sprite which already had scripts attached to it. The sprite was called "Gravity Cat". When it moved it created a blue line and even after I deleted the sprite the blue line stayed on the background.
Offline
You probably had a "pen down" block in there somewhere. Just click the "clear" block, found in the pen tab, and it'll go
Offline
Clear in the pen section
Offline