Appearance
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
| Parameter | Type |
|---|---|
a | Pick<AssetMeta, "folder" | "name" | "file"> |
Returns
string