GetObjectCount

From Onset Developer Wiki
Revision as of 14:28, 26 June 2021 by FlyingFork (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
GetObjectCount

Type: Function
Context: Server & Client
Introduced: v1.0

Description

Get the number of spawned object instances from CreateObject.

Syntax

GetObjectCount()

Parameters

  • This function has no parameters.

Return Value

  • Returns total object count.

Example

print("Objects: " .. GetObjectCount())

See also