isSpawned()
Returns true
if the player has had player.spawn
function called on them.
Function Definition
ts
public readonly isSpawned: boolean;
Returns
- boolean
Documentation
Examples
ts
if (player.isSpawned) {
console.log(`The player has had player.spawn called on them!`);
} else {
console.log(`They are not spawned!`);
}