# CutsceneAction
> A sealed interface representing timed actions within a cutscene.
`gg.lode.lecternapi.api.cutscene.CutsceneAction`
---
## Signature
```java
public sealed interface CutsceneAction
```
---
## Overview
CutsceneAction is a sealed interface with record implementations for each action type. Actions are created internally by the `Cutscene.Builder` and stored in the cutscene's action list.
You typically don't create actions directly — use the builder methods instead.
---
## Common Method
### tick
```java
int tick()
```
**Returns:** The tick at which this action should execute.
---
## Action Types
All action types are records that implement `CutsceneAction`:
### HUD Actions
| Action | Fields | Description |
|---|---|---|
| `ShowTexture` | `tick`, `ref`, `textureId`, `transform`, `width`, `height` | Shows a texture on the HUD. |
| `HideTexture` | `tick`, `ref` | Hides a texture. |
| `ShowText` | `tick`, `ref`, `text`, `transform`, `scale` | Shows text (MiniMessage). |
| `HideText` | `tick`, `ref` | Hides text. |
| `ShowHead` | `tick`, `ref`, `headUuid`, `transform`, `width`, `height` | Shows a player head. |
| `HideHead` | `tick`, `ref` | Hides a head. |
| `ShowPlayer` | `tick`, `ref`, `identifier`, `transform`, `width`, `height` | Shows a player bust. |
| `HidePlayer` | `tick`, `ref` | Hides a player bust. |
### Screen Actions
| Action | Fields | Description |
|---|---|---|
| `SetLetterbox` | `tick`, `enabled` | Enables/disables letterbox bars. |
| `SetHudHidden` | `tick`, `hidden` | Hides/shows vanilla HUD. |
| `Flash` | `tick`, `r`, `g`, `b`, `a`, `layer`, `durIn`, `durStay`, `durOut` | Screen flash effect. |
| `SetMotionBlur` | `tick`, `enabled` | Enables/disables motion blur. |
### Audio Actions
| Action | Fields | Description |
|---|---|---|
| `PlaySound` | `tick`, `soundId`, `volume`, `pitch` | Plays a sound. |
### Input Actions
| Action | Fields | Description |
|---|---|---|
| `SetInputDisabled` | `tick`, `disabled` | Disables/enables player input. |
### Camera Actions
| Action | Fields | Description |
|---|---|---|
| `SetCamera` | `tick`, `x`, `y`, `z`, `yaw`, `pitch`, `roll` | Moves camera to position. |
| `ReleaseCamera` | `tick` | Returns camera control to player. |
| `SetFov` | `tick`, `fov` | Sets field of view. |
| `ResetFov` | `tick` | Resets FOV to default. |
### Callback Actions
| Action | Fields | Description |
|---|---|---|
| `CallbackMarker` | `tick`, `callbackId` | Triggers a server-side callback. |
---
## Related Pages
- [[Cutscene]] — Builder creates these actions
- [[ICutsceneManager]] — Executes the actions