Click the Events category and drag out a when space key pressed block. Snap it on top.
Try dragging the ball to any other point on the Stage.
When you press the space key on your keyboard, the ball will go to the starting point.