# Drawstep engine · Costs · `removeCounters` > Remove counters — Remove counters as payment without targeting; omitted counter permits any kinds, from distributes among controlled permanents (CR 122.1, 601.2h). 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/costs#removeCounters ## Where it goes One part of a `cost` object (an activated ability's cost, `mayPay`, `unlessPays`, an `additionalCost`): `{ "removeCounters": … }`; parts combine freely. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `removeCounters` | `{ counter?: string; amount: ValueDef; from?: ObjectFilter; anyNumber?: boolean }` | no | Remove counters as payment without targeting; omitted counter permits any kinds, from distributes among controlled permanents (CR 122.1, 601.2h) | ## Stock examples - **Distributed Counter Witness** — “” ```json {"mana":"{1}","removeCounters":{"counter":"+1/+1","amount":2,"from":{"types":["Creature"],"controller":"you"}}} ``` - **All Counter Witness** — “” ```json {"removeCounters":{"counter":"charge","amount":{"kind":"countersOnSource","counter":"charge"}}} ``` - **Positive Counter Witness** — “” ```json {"chooseX":{"min":1},"removeCounters":{"counter":"charge","amount":{"kind":"var","name":"X"},"anyNumber":true}} ``` ## Related - [Costs](https://drawstep.xyz/wiki/mtg/costs.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