nameOnPage()

Returns the first item on the active page that is named by the given name in the Layers pane (Window -> Layer).

Type: function

Returns:

  • {Object}:

    The first object on the active page with the given name.