Skip to content
  1. Examples

Hold space to drag

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.