A little card. A lot of reassurance. Help from The Card Project UK.
The Card Project UK
PersoFiles · Script reference

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 svgMarkup

Examples

icon heart

asset.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" front

asset.replace

Replace selected static artwork with an asset, preserving its area.

asset.replace assetId

Examples

asset.replace "your-asset-id"

Scripting engine 1.0.0 · This reference is generated from the implemented command catalogue.