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