Skip to content

FindMeshes

Meshes whose path holds every word of a pattern.

FindMeshes(pattern [, max])
Parameter Type
pattern string words to look for in the path, case-insensitive
max number at most this many (10) (optional)

table - a list of {id=, path=, name=}

for _, m in ipairs(FindMeshes("barrel", 5)) do Log(m.id, m.name, m.path) end

GetMeshPath · CreateProp · the Props group of the index