# Drawstep engine · Effects · `gainClassLevel` > Gain class level — Gain the next Class level. 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#gainClassLevel ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "gainClassLevel", … }`. Steps resolve in order. ## Fields No fields besides the discriminator. ## Minimal form ```json {"effect":"gainClassLevel"} ``` The engine reads that minimal form as: “gain the next Class level”. ## Related - [Effects](https://drawstep.xyz/wiki/mtg/effects.md) — the whole topic - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive