Put your mouse on the ball to grab it don't hit the walls or you'll gain deaths get to the green area to gain a point.
If you swipe up fast enough after putting your cursor on the ball it won't die apparently. That's because the ball is trying to keep up with the cursor so it's trying to figure out how much movement the mouse has moved and multiplies or divides the movement to speed to put the cursor in the right position but if it's too fast the it won't catch a frame where it touched the black bits instead it'll just find frames where it didn't hit the black bits and count it as not hitting.