# Counter

Count deaths, wins, kills or anything else live, with an optional goal and chat commands for your mods.

The **Counter** is a number on your stream that you change live. Count deaths in a souls game, wins in a session, push-ups for subs or anything else your community cares about. Give it a goal and it shows a meter and celebrates when you get there.

::: widget pill-counter standard 180

## Add it

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

Give it a **Name**, for example "Deaths" or "Wins".

Set the **Counting tone** to match what you count: **Good (wins, kills, score)** or **Bad (deaths, losses, fails)**.

Pick a look with **Choose a look** and drag it into place.
:::

## Control it live

Select the widget and a **Count** stepper and **Reset** appear above it. The same controls are in the [Deck](/docs/deck) and on a [Stream Deck](/docs/stream-deck), so a mod can count from their phone.

## Chat commands

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

| Command | What it does |
| --- | --- |
| `!win` | Add 1 |
| `!winminus` | Subtract 1 |
| `!winset 5` | Set the count directly |
| `!winreset` | Reset to 0 |
| `!winmax 15` | Change the goal |
| `!wincolor #4dabff` | Change the accent color |

Change the word under **Command word**, for example to `death` for `!death`, and who may use it under **Who can use commands**.

> [!TIP]
> **Challenges** also uses `win` by default. If you run both, give one of them a different **Command word**.

## Goals and milestones

Turn on **Count toward a goal** and set the **Goal**. The counter stops at the goal and the look shows a meter. **Milestones** such as `25;50;75;100` mark steps on the meter or show the next one. **Celebration** and **Celebrate how often** control the moment you reach it.

## Share a count

Set **Count source** to **Shared count** and give several Counters the same **Shared counter name**. They all show the same saved number, for example one big counter on your gameplay scene and a small chip on your BRB scene.

## Tips

- **Show** offers a compact **Chip (one line)** or **Number only** for tight spots.
- **Number style** can shorten big numbers (12.3k) or show a currency.
- Add a **Sound**, and turn on **Sound on milestones** for the big steps.
- PXStudioBot has its own counters for chat commands, see [bot commands](/docs/bot-commands).

## 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 pill-counter
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 |
| --- | --- |
| `!win` | Add 1 |
| `!winminus` | Subtract 1 |
| `!winset 5` | Set the count directly |
| `!winreset` | Reset to 0 |
| `!winmax 15` | Change the goal |
| `!wincolor #4dabff` | 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.

### Appearance

| Setting | Default | Values | Notes |
| --- | --- | --- | --- |
| Background plate | On | On or off | Used by Loot Drop. |
| Title font | Look default | Look default, Baloo 2, Nunito, Quicksand, Inter, Geist, Sora, Bricolage Grotesque and 7 more | Used by Loot Drop. |
| Value font | Look default | Look default, Baloo 2, Nunito, Quicksand, Inter, Geist, Sora, Bricolage Grotesque and 7 more | Used by Loot Drop. |
| Detail font | Look default | Look default, Baloo 2, Nunito, Quicksand, Inter, Geist, Sora, Bricolage Grotesque and 7 more | Used by Loot Drop. |
| Compact strip | Off | On or off |  |
| Show | Name, number and meter | Name, number and meter, Number only, Chip (one line), Meter and number |  |
| Scale (%) | 48 | 16 to 96 |  |
| Width (px) | 60 | 60 to 900 | Minimum width. The counter always fits its name and number. |
| Number style | 12,345 | 12,345, 12.3k, Currency |  |
| Currency code | EUR | Text | Only used by the currency number style. |
| Accent color | Look default | Any color |  |
| Label icon | No icon | No icon, Heart (follows), Star (subs), Diamond (bits), Coin (tips), Medal (points), Flag (custom) |  |
| Celebration | Full (text + particles) | Full (text + particles), Subtle (flash only), Off |  |
| Celebrate how often | Once per stream | Once per stream, Every time | Only used when celebrations are on. |

### Content

| Setting | Default | Values | Notes |
| --- | --- | --- | --- |
| Rarity label | On | On or off | Used by Loot Drop. |
| Common label | COMMON | Text | Decorative Loot Drop detail. |
| Rare label | RARE | Text | Decorative Loot Drop detail. |
| Epic label | EPIC | Text | Decorative Loot Drop detail. |
| Legendary label | LEGENDARY | Text | Decorative Loot Drop detail. |
| Name | Empty | Text |  |
| Show progress note | Off | On or off |  |
| Count source | Separate count | Separate count, Shared count | Counters with the same shared name use the same saved number. |
| Shared counter name | score | Text | Pick Bind to share a named count. |
| Count toward a goal | Off | On or off |  |
| Goal | 10 | 1 to 9999 | The counter stops at this cap and the look shows a meter. Turn on "Count toward a goal" to use this. |
| Milestones | 25;50;75;100 | Text | E.g. "25;50;75;100" - marks the meter or shows "next: 25". |
| Counting tone | Good (wins, kills, score) | Good (wins, kills, score), Bad (deaths, losses, fails) |  |

### Chat

| Setting | Default | Values | Notes |
| --- | --- | --- | --- |
| Command word | win | 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 |
| --- | --- | --- | --- |
| Sound | Empty | Text |  |
| Sound volume | 70 | 0 to 100 | Upload or paste a sound first. |
| Sound on milestones | Off | On or off | Upload or paste a sound first. |
