CreatorAPI.utils

Utility helpers for working with nodes.

CreatorAPI.utils property

Utility helpers for working with nodes. See UtilsAPI.

Signature:

readonly utils: UtilsAPI;

Example

for (const node of creator.selection.nodes) {
  if (creator.utils.isLayer(node)) {
    // node is narrowed to Layer
  } else {
    // node is Shape
  }
}
Last updated: August 13, 2026 at 9:17 AMEdit this page