Sonolus Wiki

Entity Despawn

Entity Despawn block is used by entities to pass despawn information back to Sonolus.

Identifier

const EntityDespawnId = 4004

Values

IndexInitial ValueDescription
00Despawn: 0 = No, otherwise Yes

Access

CallbackReadWrite
preprocess
spawnOrder
shouldSpawn
initialize
updateSequential
touch
updateParallel
terminate

Remarks

When despawn value is truthy at end of current frame, it will be despawned.