StaticEntity
Provides properties and functions to interact with an Entity in the world.
Properties
isEntity
Indicates whether the object is an Entity. This property is read-only.
isPlayer
Indicates whether the object is a player. This property is read-only.
name
Gets the name of the entity. This property is read-only.
entityId
Gets the code (a string value) used to identify the type of the entity. This can be used to spawn copies of an entity. This property is read-only.
isDestroyed
Returns true if the entity is destroyed. This property is read-only.
position
Gets the entity's position. This property is read-only.
rotation
Gets the entity's rotation. This property is read-only.