Skip to content


Represents an asset within Crayta, usually assigned from a property.

Here is how to get a name from an asset property (called exampleAsset)

local asset =


Function Name Usage Description Notes
GetName string asset:GetName() Get the debug name of this asset, this is the develoer name and not a player facing localised Text.
GetIcon string asset:GetIcon() Get a string which when passed as the src attribute of an HTML img tag will display the icon from this mesh or voxel asset.


Override Name Usage Description Notes
new_index asset.var = object value