Documentation Center

Editor.getActiveCanvas

Description

Retrieve the currently active canvas or null when not one is active.

Shortcut for the Editor.Canvas.getActiveCanvas method.

Syntax

Editor.getActiveCanvas () : XopusCanvas

Return Value

XopusCanvas. The active canvas for the Editor.