Skip to content

hm5-types (source format) / scriptFilePath

Function: scriptFilePath() ​

ts
function scriptFilePath(a): string;

a script asset's path inside the scripts folder: its Library sub-folder and name ("enemies/Boss.ts") — what imports between scripts use

Parameters ​

ParameterType
aPick<AssetMeta, "folder" | "name" | "file">

Returns ​

string

HereSplash — 2D animation for the web