Skip to main content
api.utility.getAssets(assetType: string?): { [string]: any }
All assets of a type. Pass nothing to get every category.
assetType
string?
Category filter, e.g. "image". Omit for everything.
returns
table
Name → resolved asset.
local images = api.utility.getAssets("image")
for name, asset in images do
    print(name, asset)
end
getAsset