# Drawstep engine · Costs · `payLife` > Pay life — Pay this much life; { kind: "var", name: "X" } for "pay X life" (X is announced as the spell is cast). 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/costs#payLife ## Where it goes One part of a `cost` object (an activated ability's cost, `mayPay`, `unlessPays`, an `additionalCost`): `{ "payLife": … }`; parts combine freely. Printed words that point here (search aliases): pay life. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `payLife` | `ValueDef` | no | Pay this much life; { kind: "var", name: "X" } for "pay X life" (X is announced as the spell is cast) | ## Stock examples - **Life Ward** — “” ```json {"payLife":2} ``` - **Double Ward** — “” ```json {"payLife":2} ``` - **Street Wraith** — “Swampwalk. Cycling—Pay 2 life.” ```json {"payLife":2} ``` ## Related - [Costs](https://drawstep.xyz/wiki/mtg/costs.md) — the whole topic - [Values](https://drawstep.xyz/wiki/mtg/values.md) — every number kind an `amount` accepts - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive