# Drawstep engine · Statics & layers · `playerProtection` > Player protection — CR 702.16b–e, 702.16j: "You have protection from …" — these players can't be targeted by matching spells or abilities from matching sources, can't be enchanted by matching Auras, and damage from matching sources is prevented. 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#playerProtection ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "playerProtection", … } }`. Applied continuously through the layer system. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `who` | `"you" \| "controller" \| "abilityController" \| "sourceController" \| "owner" \| "eachOpponent" \| "eachPlayer" \| "target" \| "triggeringPlayer" \| "defendingPlayer" \| "attackingPlayer" \| "activePlayer" \| "re …` | yes | Which player(s) — a player selector (default `you`) | | `from` | `{ filter?: ObjectFilter; colors?: string[]; types?: string[]; subtypes?: string[]; everything?: boolean; allColors?: boolean; ownColors?: boolean; colorsAmong?: ObjectFilter; player?: any; fixedPlayer …` | yes | The quality; filters read from the source's controller ("protection from each of your opponents" = controller: opponent; "the chosen card name" = chosenName) | ## Minimal form ```json {"type":"playerProtection","who":"you","from":{}} ``` The engine reads that minimal form as: “you have protection from (nothing)”. ## 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) - [Start here](https://drawstep.xyz/wiki/mtg/start.md) — the rules, the output contract and the index of every primitive