Manual     Reference     Scripting  
  
Scripting > Editor Classes > Tools   

Tools.viewTool  

static var viewTool : ViewTool

Description

Lock the selection bar to a given tool type

Which view tool is active in the scene view