Appearance
This example shows how to use the keydown event to enable dragging the viewport by holding the 'Space' key.
Hold 'Space' key to drag the viewport.