setActive()

Moves the viewer panel to the front and places focus on it, making it active. Calling this method will set the viewerï¾’s active attribute to true.None.Boolea

Viewer object

The Viewer object represents a Composition, Layer, or Footage panel.This maximizes the active viewer panel, and displays its type if it contains a compositi

active

When true, indicates if the viewer panel is focused, and thereby frontmost.Boolean; read-only.

maximized

When true, indicates if the viewer panel is at its maximized size.Boolean; read/write.

type

The content in the viewer panel.A ViewerType enumerated value; read-only. One of:ViewerType.VIEWER _COMPOSITIONViewerType.VIEWER_L AYERViewerType.VIEWER _FO