Skip to main content


The name of the layer that appears in the layers panel. Calling will return the name, read-only, of the current file.


name: string


If the node is a TextNode, the name will update automatically by default based on the characters property (autoRename is true). If you manually override the text node's name, it will set autoRename to false. This matches the behavior in the editor.

On this page