Version: 2018.1
public static ViewTool 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.