ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. engineFreeMesh

Function

engineFreeMesh

ClientGame engineTrilogy Hub only

Frees a model from engineLoadMesh; objects placed from it disappear.

Syntax

bool engineFreeMesh(mesh mesh)

Arguments

meshmesh
The model.

Returns

true on success.

Example

local mesh = engineLoadMesh("modele/pomnik.glb")
setTimer(engineFreeMesh, 60000, 1, mesh)

See also