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

Function

setMeshObjectVisible

ClientGame engineTrilogy Hub only

Shows or hides a model object.

Syntax

bool setMeshObjectVisible(meshobject meshObject, bool visible)

Arguments

meshObjectmeshobject
The object.
visiblebool
true = visible.

Returns

true on success.

Example

setMeshObjectVisible(statue, false)

See also