To twist the cube:

Drag a part into the desired direction or click on a part.

Click twists into clockwise direction.

Alt+Click or Ctrl+Click twists into the opposite direction.

Shift+Click twists by 180°.

To rotate the cube:

Drag the area behind the cube into the desired direction.