# Drawstep engine · Statics & layers · `shareAttachments` > Share attachments — Equipment and Auras attached to the `to` permanents are treated as if they were also attached to the `with` permanents (default: the source itself): their "equipped / enchanted creature …" statics, host-mode effects and host filters apply to both (CR 301.5, 303.4). Custom-card primitive. 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#shareAttachments ## Where it goes The `effect` of a static ability (or one of its `effects`): `{ "kind": "static", "effect": { "type": "shareAttachments", … } }`. Applied continuously through the layer system. ## Fields | Field | Type | Required | Description | |---|---|---|---| | `to` | `TargetDef` | yes | What it applies to (TargetDef) | | `with` | `TargetDef` | no | What it is shared or compared with | ## Minimal form ```json {"type":"shareAttachments","to":{"of":"object","mode":"self"}} ``` The engine reads that minimal form as: “Equipment and Auras attached to ~ are treated as if they were also attached to ~”. ## 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