# Drawstep engine · Effects · `createTokenCopy` > Create token copy — e.g. “create a token that's a copy of 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#createTokenCopy ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "createTokenCopy", … }`. Steps resolve in order. Printed words that point here (search aliases): create a copy of a token that's a copy nonlegendary copy. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `target` | `TargetDef` | yes | What it acts on (TargetDef) | | `link` | `boolean` | no | CR 400.7, 607.1: link all tokens created by this instruction to the source incarnation, so later instructions can refer to tokens created with it | | `amount` | `ValueDef` | no | How many / how much (integer or ValueDef) | | `tapped` | `boolean` | no | Tapped (true) or untapped (false); on an effect that puts something onto the battlefield, it enters tapped | | `attacking` | `boolean` | no | Attacking (true) / not attacking (false); on an effect that creates or moves a creature, it enters attacking | | `haste` | `boolean` | no | The created tokens have haste | | `except` | `{ keywords?: string[]; keywordAbilities?: KeywordAbilityDef[]; abilities?: any[]; addTypes?: string[]; addSubtypes?: string[]; setTypes?: string[]; setSubtypes?: string[]; removeSubtypes?: string[]; c …` | no | Except: changes to the copy's copiable values (CR 707.9) | | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | The player who creates the token (CR 111.2); default: the controller | | `withCounters` | `{ counter: string; amount: ValueDef }` | no | CR 122.6, 614.1c: "except it enters with an additional +1/+1 counter on it" — counters each token enters with; not a copiable value | ## Minimal form ```json {"effect":"createTokenCopy","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"]}}} ``` The engine reads that minimal form as: “create a token that's a copy of target creature”. ## Stock examples - **Event Probe copy** — “” ```json {"effect":"createTokenCopy","target":{"of":"object","mode":"chosen"},"amount":2} ``` - **Progenitor Mimic Witness** — “” ```json {"effect":"createTokenCopy","target":{"of":"object","mode":"self"}} ``` - **Cackling Counterpart** — “Create a token that's a copy of target creature you control.” ```json {"effect":"createTokenCopy","target":{"of":"object","mode":"chosen","filter":{"types":["Creature"],"controller":"you"}}} ``` ## 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