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

Function

isMeshObject

ClientGame engineTrilogy Hub only

Checks whether a value is an existing object from createMeshObject.

Syntax

bool isMeshObject(mixed value)

Arguments

valuemixed
The value.

Returns

true for a model object.

Example

if isMeshObject(statue) then destroyMeshObject(statue) end

See also