# Drawstep engine · Statics & layers · `setPT` > Set P/T — e.g. “~ has base toughness ?”. 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/statics#setPT ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "setPT", … } }`. Applied continuously through the layer system. Printed words that point here (search aliases): power and toughness are each equal to base. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `to` | `TargetDef` | yes | What it applies to (TargetDef) | | `fromLastLinkedCreature` | `boolean` | no | Set power and toughness to those of the last creature card still exiled with this source, in layer 7b (CR 607.2a, 613.4b) | | `power` | `ValueDef` | no | Power (a number, or a string such as "*" for characteristic-defining values) | | `toughness` | `ValueDef` | no | Toughness (a number, or a string such as "*" for characteristic-defining values) | | `cda` | `boolean` | no | Characteristic-defining P/T in layer 7a and every zone (CR 604.3, 613.4a) | ## Minimal form ```json {"type":"setPT","to":{"of":"object","mode":"self"}} ``` The engine reads that minimal form as: “~ has base toughness ?”. ## Stock examples - **Uniformity** — “Each creature has base power and toughness 1/1.” ```json {"type":"setPT","to":{"of":"object","mode":"all","filter":{"types":["Creature"]}},"power":1,"toughness":1} ``` - **Living Plane** — “All lands are 1/1 creatures that are still lands.” ```json {"type":"setPT","to":{"of":"object","mode":"all","filter":{"types":["Land"]}},"power":1,"toughness":1} ``` - **Role-Cursed Study** — “Create a cursed Role token attached to target creature.” ```json {"type":"setPT","to":{"of":"object","mode":"host"},"power":1,"toughness":1} ``` ## Related - [Statics & layers](https://drawstep.xyz/wiki/mtg/statics.md) — the whole topic - [Filters & targets](https://drawstep.xyz/wiki/mtg/targets.md) — how `target` / `filter` select objects and players (selection algebra) - [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