Manual     Reference     Scripting  
  
Scripting > Editor Classes > EditorWindow   

EditorWindow.position  

var position : Rect

Description

The position of the window in screen space.

Setting this value will undock the window if it's docked