Skip to content

Instance

Summary

Properties Common properties of an `Instance`-like object.

Methods Common methods of an `Instance`-like object.

Properties

Name

string

The name of the Instance.


Parent

Instance | nil

The instance’s hierarchical parent, or nil when it has no parent.


Methods

Clone()

Instance

Create a copy of the Instance and return copy.


Destroy()

nil

Destroy the Instance and children.


GetChildren()

{ Instance }

Return children of the Instance.


Vortex Studio Method Availability

The following matrix records whether each member is exposed as a function on the live object.

Runtime objectFindFirstChildFindFirstChildOfClassWaitForChildGetChildrenGetDescendantsCloneDestroyIsA
PartYesYesYesYesYesYesYesYes
ScriptYesYesYesYesYesYesYesYes
CharacterYesYesYesYesYesYesYesYes
WorkspaceYesNoYesYesNoNoNoNo
ReplicatedStorageYesNoYesYesNoNoNoNo
PlayersNoNoNoNoNoNoNoNo
PlayerNoNoNoNoNoNoNoNo
HumanoidNoNoNoNoNoNoNoNo

A Players service can still provide its class-specific GetPlayers() method, and a Humanoid can provide IsDead(), even though the generic methods above are absent.

These observations were made in Vortex Studio 0.3.4 and may change in later versions.