Skip to content

hm5-types (source format) / ScriptRef

Interface: ScriptRef ​

A script (a script asset whose default export extends pixi-hm05's Behaviour) bound to a symbol, a scene or an instance, with the values of its fields that differ from the script's defaults. On an instance, a ref to a script its symbol also binds overrides that binding's values.

Properties ​

PropertyTypeDescription
fields?Record<string, ScriptFieldValue>-
scriptstringthe script asset's id

HereSplash — 2D animation for the web