# Drawstep engine · Effects · `manaDoesntEmpty` > Mana doesnt empty — CR 106.4, 611.2: selected players retain all unspent mana as steps and phases end for this duration. 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#manaDoesntEmpty ## Where it goes One step of an ability's `effects[]` (a spell's, a trigger's, an activated ability's, a mode's): `{ "effect": "manaDoesntEmpty", … }`. Steps resolve in order. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | no | Which player(s) — a player selector (default `you`) | | `duration` | `"endOfTurn" \| "endOfCombat" \| "endOfAdditionalCombat" \| "untilYourNextTurn" \| "untilEndOfYourNextTurn" \| "untilEndOfNextTurn" \| "untilStackEmpty" \| "untilYourNextEndStep" \| "untilYourNextUpkeep" \| "pe …` | no | How long it lasts (see Durations on the Relationships & references page) | ## Minimal form ```json {"effect":"manaDoesntEmpty"} ``` The engine reads that minimal form as: “until end of turn, you don't lose unspent mana as steps and phases end”. ## Stock examples - **Retain All Study** — “” ```json {"effect":"manaDoesntEmpty","duration":"endOfTurn"} ``` ## 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