Assets commands
Assets actions for the loaded PersoFile. All commands participate in the same atomic, undoable script run.
icon
Replace selected static artwork with a built-in icon or a standalone vector SVG. Built-ins: cross, heart, star, shield, person, phone, check, warning.
icon builtinName | icon svgMarkupExamples
icon heartasset.add
Add an asset from your asset library. The editor loads it by ID; no arbitrary network access.
asset.add assetId [surfaceId]Examples
asset.add "your-asset-id" frontasset.replace
Replace selected static artwork with an asset, preserving its area.
asset.replace assetIdExamples
asset.replace "your-asset-id"Scripting engine 1.0.0 · This reference is generated from the implemented command catalogue.
