Home > server > Entity > spawn
Spawns the entity in the world.
Signature:
spawn(world: World, position: Vector3Like, rotation?: QuaternionLike): void;|
Parameter |
Type |
Description |
|---|---|---|
|
world |
The world to spawn the entity in. | |
|
position |
The position to spawn the entity at. | |
|
rotation |
(Optional) The optional rotation to spawn the entity with. |
void