# Drawstep engine · Triggers · `levelGained` > Level gained — Whenever a Class gains a level (`level` = the level reached). 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#levelGained ## Where it goes The `trigger` of a triggered ability: `{ "kind": "triggered", "trigger": { "event": "levelGained", … }, "effects": [ … ] }`. The common trigger fields (`filter`, `by`, `other`, `condition`, `damageKind`, `oneOrMore` …) are on the triggers page. ## Fields No fields besides the discriminator. ## Stock examples - **Iter62 class** — “” ```json {"event":"levelGained","filter":{"self":true},"level":2} ``` ## 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