Appearance
Kiln API / kiln / Lifetime
const Lifetime: Trait<{ seconds: number; ticks: number; }>;
Despawns the entity seconds after it spawned: bullets, effects, popups. Lifetime({ seconds: 2 }).
seconds
Lifetime({ seconds: 2 })