Documentation Center

Editor.getScope

Description

This return the Scope Object.

//hide the property panel when it is opened.
Editor.getScope().setListener("showProperties", hidePanel);  

function hidePanels()  
{    
  var s = Editor.getScope();    
  if(s.get("showProperties") == true)       
    s.set("showProperties", false); 
}

Syntax

Editor.getScope () : Scope

Return Value

Scope. The scope object.