I fixed it. I moved the pen up and the pen down next to the move block in the update line script. I figured it out because I was looking at the two lists and the idx variable, and I realized that the move block goes to the other dot trailing effects.