# Hearts

Show lives or health for challenge runs and take them away live from chat, the editor or your phone.

**Hearts** shows how many lives you have left. Lose one and a mark empties; lose them all and a game-over moment plays. Perfect for hardcore runs, "three strikes" challenges or letting chat punish your mistakes.

Show one mark per life or a single mark that drains as you lose lives.

::: widget hearts standard 160

## Add it

::: steps
Click **Add** in the toolbar (or press `kbd:W`) and pick **Hearts** under **Games & Interactive**.

Set **Total lives**: how many lives a refill gives you.

Choose a **Layout**: **Marks (one per life)** or **Vessel (one filling mark)**.

Pick a look with **Choose a look** and give it a **Name** if you like.
:::

## Control it live

Select the widget and a **Lives** stepper and **Refill** appear above it. Use them in the [Deck](/docs/deck) or on a [Stream Deck](/docs/stream-deck) too.

## Chat commands

The default command word is `life`. You and your mods can use:

| Command | What it does |
| --- | --- |
| `!life` | Lose one life |
| `!lifeplus` | Gain one life |
| `!lifeset 3` | Set lives directly |
| `!lifereset` | Refill to the maximum |
| `!lifeempty` | Empty all lives |
| `!lifemax 7` | Change the lives cap |
| `!lifecolor #22d3ee` | Change the accent color |

Change the word under **Command word** and who may use it under **Who can use commands**.

## Tips

- **Keep lost lives visible** shows empty marks, so viewers see how many you lost.
- **Show count ("3 / 5")** or **Show** set to **Count only (3 / 5)** works well in a tight corner.
- With 7 or more lives, a small **Max width (px)** wraps the marks to a second row.
- Add a **Lose sound**, **Gain sound** and **Empty sound** for extra drama.
- **Game-over effect** chooses between a full moment and a subtle pulse.

## Looks

Pick a look under **Look** in the settings card. Every look is a complete style; colors and fonts you set yourself stay on top. 15 looks are available:

::: looks hearts
standard Standard
miami Miami
lootdrop Loot Drop
comic-pop Comic Pop
cinematic Cinematic
esports Esports
terminal Terminal
blocky Blocky
lofi Lofi
neon-pulse Neon Pulse
midnight Midnight
pastel-pop Pastel Pop
retro-arcade Retro Arcade
gilded Gilded
minimalism-dark Minimalism Dark
:::

## Command reference

Every chat command this widget understands, with the default command names. Values in angle brackets are placeholders, for example a number.

| Command | What it does |
| --- | --- |
| `!life` | Lose 1 |
| `!lifeplus` | Gain 1 |
| `!lifeset 3` | Set lives directly |
| `!lifereset` | Refill to max |
| `!lifeempty` | Empty all lives |
| `!lifemax 7` | Change the lives cap |
| `!lifecolor #22d3ee` | Change the accent color |

## Settings

All settings live in the floating settings card on the right of the editor. Defaults are what a new widget starts with.

### Content

| Setting | Default | Values | Notes |
| --- | --- | --- | --- |
| Name | Empty | Text |  |
| Total lives | 5 | 1 to 12 | How many lives a refill gives you, not the current count. |
| Layout | Marks (one per life) | Marks (one per life), Vessel (one filling mark) | Vessel shows one mark whose fill level is your lives. |
| Keep lost lives visible | On | On or off |  |
| Show count ("3 / 5") | Off | On or off |  |

### Appearance

| Setting | Default | Values | Notes |
| --- | --- | --- | --- |
| Show | Name, marks and count | Name, marks and count, Marks only, Count only (3 / 5) |  |
| Compact strip | Off | On or off |  |
| Mark size | 1 | 0.6 to 1.6 |  |
| Gap (px) | 8 | 0 to 24 |  |
| Scale (%) | 32 | 16 to 64 |  |
| Max width (px) | 360 | 160 to 1200 | A tight width wraps 7+ marks to a second row. |
| Accent color | Look default | Any color |  |
| Game-over effect | Full (text + pulse) | Full (text + pulse), Subtle (pulse only) |  |

### Chat

| Setting | Default | Values | Notes |
| --- | --- | --- | --- |
| Command word | life | Text |  |
| Chat channels | All connected channels | Your connected Twitch, Kick and YouTube channels |  |
| Who can use commands | Broadcaster, Moderators | Broadcaster, Moderators, VIPs, Subscribers, Everyone |  |

### Sound

| Setting | Default | Values | Notes |
| --- | --- | --- | --- |
| Lose sound | Empty | Text |  |
| Gain sound | Empty | Text |  |
| Empty sound | Empty | Text |  |
| Sound volume | 70 | 0 to 100 | Upload or paste a sound first. |
