# Drawstep engine · Triggers · `upkeep` > Upkeep — Beginning of an upkeep step (`by: you` for yours). 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#upkeep ## Where it goes The `trigger` of a triggered ability: `{ "kind": "triggered", "trigger": { "event": "upkeep", … }, "effects": [ … ] }`. The common trigger fields (`filter`, `by`, `other`, `condition`, `damageKind`, `oneOrMore` …) are on the triggers page. Printed words that point here (search aliases): at the beginning of your upkeep. ## Fields No fields besides the discriminator. ## Stock examples - **Half-Shark, Half-** — “At the beginning of your upkeep,” ```json {"event":"upkeep","by":"you"} ``` - **Progenitor Mimic Witness** — “” ```json {"event":"upkeep","by":"you","condition":{"kind":"not","condition":{"kind":"sourceIs","state":"token"}}} ``` - **Growing Ranks** — “At the beginning of your upkeep, populate.” ```json {"event":"upkeep","by":"you"} ``` ## 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