---
title: Set Titles Animation
description: "Play 0x73, server → client."
---

`play` · `0x73` · **clientbound** (server → client)

Sets the fade-in, stay and fade-out times (in ticks) for titles and subtitles. The server sends it for `/title ... times`; the client applies it to subsequent titles.

Sent by the server, read by the client. Listen for it with `client.on("SetTitlesAnimation", (data) => …)` on the receiving side.

## Fields

| Field | Type | Notes |
|---|---|---|
| `fadeIn` | Int |  |
| `stay` | Int |  |
| `fadeOut` | Int |  |

## Send it

```ts
// Ticks: 0.5 s in, 3.5 s hold, 1 s out.
await client.sendPacket("SetTitlesAnimation", { fadeIn: 10, stay: 70, fadeOut: 20 });
```

Applies to the next `SetTitleText`, and to a title already on screen. Vanilla defaults are `10`, `70`, `20`.

Field aliases listed under Notes are accepted as alternative keys when writing.

Source: [`src/Core/Versions/776/Packets/play/clientbound/SetTitlesAnimation.ts`](https://github.com/GDLev/mc-protocol/blob/master/src/Core/Versions/776/Packets/play/clientbound/SetTitlesAnimation.ts)
