# Type Alias: GamePhase

> **GamePhase** = `"idle"` \| `"beforeUpdate"` \| `"update"` \| `"afterUpdate"` \| `"renderScene"` \| `"beforeRender"` \| `"render"` \| `"afterRender"`

Defined in: [core/src/hooks.ts:29](https://github.com/debuffjp/debuff/blob/487a371b887e2dbf1b4e95719a9b0b5ed1a5efa1/packages/core/src/hooks.ts#L29)

The part of a frame running: a scene's `update` (with the camera) or `render`, one of the hooks around them,
or `"idle"` outside those (loop bookkeeping, `draw.begin`/`end`).
