# Drawstep engine · Effects · `moveCounters` > Move counters — Move counters from the source (default) or `from` onto the target. 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#moveCounters ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "moveCounters", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `anyKind` | `boolean` | no | CR 122.5, 608.2d: choose one counter kind on the donor on resolution | | `allKinds` | `boolean` | no | CR 122.5, 608.2d: every counter of every kind on the donor ("move all counters from …"); a donor that has left the battlefield — the source of its own dies / leaves trigger, or `from` the triggering object ("put its counters on …") — hands over the counters it last had (CR 603.10a). `counter`, `amount` and `anyKind` do not apply. With distributeAny, choose zero through the available number of each counter kind on a live donor for the single recipient | | `distributeAny` | `boolean` | no | CR 122.5, 608.2d: move any number of counters distributed among the selected recipients during resolution | | `from` | `TargetDef` | no | Where / what it comes from | | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `counter` | `string` | no | Counter kind (any string: "+1/+1", "loyalty", "time", "oil" …) | | `amount` | `ValueDef` | no | How many / how much (integer or ValueDef) | ## Minimal form ```json {"effect":"moveCounters","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}}} ``` The engine reads that minimal form as: “move all +1/+1 counters from ~ onto target creature”. ## Stock examples - **Rikku, Resourceful Guardian** — “” ```json {"effect":"moveCounters","anyKind":true,"from":{"of":"object","mode":"chosen","filter":{"types":["Creature"],"controller":"opponent"}},"target":{"of":"object","mode":"chosen","filter":{"types":["Creature"],"controller":"you"}},"amount":1} ``` - **Combine Guildmage** — “” ```json {"effect":"moveCounters","from":{"of":"object","mode":"chosen","filter":{"types":["Creature"],"controller":"you"}},"target":{"of":"object","mode":"chosen","filter":{"types":["Creature"],"controller":"you"},"differentFromEarlierTargets":true},"counter":"+1/+1","amount":1} ``` - **Counter Distributor** — “{0}: Move any number of +1/+1 counters from this creature onto other creatures.” ```json {"effect":"moveCounters","distributeAny":true,"from":{"of":"object","mode":"self"},"target":{"of":"object","mode":"choose","filter":{"types":["Creature"],"other":true},"min":0,"max":"any"},"counter":"+1/+1"} ``` ## 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