# Drawstep engine · Triggers · `coinFlipped` > Coin flipped — Whenever a player flips a coin. 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/triggers#coinFlipped ## Where it goes The `trigger` of a triggered ability: `{ "kind": "triggered", "trigger": { "event": "coinFlipped", … }, "effects": [ … ] }`. The common trigger fields (`filter`, `by`, `other`, `condition`, `damageKind`, `oneOrMore` …) are on the triggers page. ## Fields No fields besides the discriminator. ## Stock examples - **Iteration 71 coin-win** — “” ```json {"event":"coinFlipped","by":"you","eventCondition":{"kind":"compare","a":{"kind":"triggerAmount"},"op":"==","b":1}} ``` - **Lucky Charm Watcher** — “Whenever you win a coin flip, you gain 1 life.” ```json {"event":"coinFlipped","by":"you","eventCondition":{"kind":"compare","a":{"kind":"triggerAmount"},"op":"==","b":1}} ``` ## Related - [Triggers](https://drawstep.xyz/wiki/mtg/triggers.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive