If you touch the red line you die. move with the mouse. IF the red line disappears as you're playing, just click/press the green flag 2 times.
Credits to Scratch Team's Tutorial, Here is the link: https://www.youtube.com/watch?v=BlmBDrnhd2I&t=3s