---
url: /api/kiln/variables/Lifetime.md
---
[Kiln API](../../index.md) / [kiln](../index.md) / Lifetime

# Variable: Lifetime

```ts
const Lifetime: Trait<{
  seconds: number;
  ticks: number;
}>;
```

Despawns the entity `seconds` after it spawned: bullets, effects, popups. `Lifetime({ seconds: 2 })`.
