Rotate the level with Q or E. Click on the gate to open it. Remember, you need to leave one ball in the level to advance to the next one! You can change the speed by clicking one of the options on the left.
Be careful, some levels have a time limit... So get rolling!