-- Lingo syntaxwindowObjRect.sourceRect // JavaScript syntaxwindowObjRect.sourceRect;
Window property; specifies the original Stage coordinates of the movie playing in a window. Read-only.
This property is useful for returning a window to its original size and position after it has been dragged or its rectangle has been set.
This statement displays the original coordinates of the Stage named Control_panel in the Message window:
-- Lingo syntax
put(window("Control_panel").sourceRect)
// JavaScript syntax
put(window("Control_panel").sourceRect);