Skip to content

Latest commit

 

History

History
85 lines (40 loc) · 1 KB

File metadata and controls

85 lines (40 loc) · 1 KB

Home > server > Entity > spawn

Entity.spawn() method

Spawns the entity in the world.

Signature:

spawn(world: World, position: Vector3Like, rotation?: QuaternionLike): void;

Parameters

Parameter

Type

Description

world

World

The world to spawn the entity in.

position

Vector3Like

The position to spawn the entity at.

rotation

QuaternionLike

(Optional) The optional rotation to spawn the entity with.

**Returns:**

void