Skip to content

GetMeshPath

The path a mesh key stands for.

GetMeshPath(key)
Parameter Type
key string | number the mesh’s id, file name or path

string - the path (objects/manmade/.../barrel_a.cgf); nil when the key resolves to nothing or to several files

local path = GetMeshPath("barrel_a")

FindMeshes · CreateProp · the Props group of the index