Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Tools.viewTool

static var viewTool: ViewTool;
static ViewTool viewTool;
static viewTool as ViewTool

Description

The option that is currently active for the View tool in the Scene view.

The View tool has options for Orbit, Pan, Zoom and FPS, depending on which combination mouse buttons and modifier keys is used. This property reports which option is currently active.

See Also: current.