# Drawstep engine · Effects · `removeCounters` > Remove counters — e.g. “remove a +1/+1 counter from target creature”. Engine: Magic: The Gathering (`mtg`). This is one primitive of the Drawstep card vocabulary; field names and the discriminator are exact. Wiki page: https://drawstep.xyz/wiki/mtg/effects#removeCounters ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "removeCounters", … }`. Steps resolve in order. Printed words that point here (search aliases): remove a counter all counters spend. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `counter` | `string` | no | Counter kind; defaults to +1/+1. any permits a mixture of kinds chosen on resolution (CR 122.1) | | `amount` | `ValueDef \| "any" \| "all"` | yes | Remove this many counters; any chooses zero through the available counters on resolution, all removes every available counter (CR 122.1, 608.2d, 609.3) | | `upTo` | `boolean` | no | CR 107.1b, 608.2d: choose zero through amount on resolution for each recipient | ## Minimal form ```json {"effect":"removeCounters","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"amount":1} ``` The engine reads that minimal form as: “remove a +1/+1 counter from target creature”. ## Stock examples - **Counter Pruning** — “Remove a counter from target permanent.” ```json {"effect":"removeCounters","target":{"of":"object","mode":"chosen","filter":{}},"counter":"any","amount":1} ``` - **Iter54 up-remove** — “Remove up to three counters from target creature.” ```json {"effect":"removeCounters","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"counter":"any","amount":3,"upTo":true} ``` - **Iter54 exact-remove** — “Remove exactly three counters from target creature.” ```json {"effect":"removeCounters","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}},"counter":"any","amount":3} ``` ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive