I need to stop when the blue object touches the line, and I thought of doing it via having another global variable and add another conditional check and 3 event blocks?
Yes, you can add another condition like IsGameOver=0 to all those events. Or you can put them into a group and deactivate the group.
Also, you need to use delta time in event #2: (direction*100*60*dt)