getAsset("image", "pencil").
string
required
Category, e.g.
"image".string
required
Key in that category, e.g.
"pencil".any
Type depends on the category.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
api.utility.getAsset: grab one asset Limerence has loaded.
api.utility.getAsset(assetType: string, name: string): any
getAsset("image", "pencil").
"image"."pencil".local tab = api.ui.tab("My Script", "pencil") -- the name, not the resolved asset
local img = api.utility.getAsset("image", "pencil")