Move mouse and green bar will follow mouse pointer. If ball touches red line then game over.
Tutorial off of Scratch