<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "TabletopKit",
  "identifier" : "/documentation/TabletopKit/EquipmentCollection/reparent(id:to:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "TabletopKit"
    ],
    "preciseIdentifier" : "s:11TabletopKit19EquipmentCollectionV8reparent2id2toyAA0C10IdentifierV_AHtF"
  },
  "title" : "reparent(id:to:)"
}
-->

# reparent(id:to:)

Change the parent of the equipment matching the given identifier. The given equipment becomes the last of the parent’s children.

```
func reparent(id: EquipmentIdentifier, to parent: EquipmentIdentifier)
```

## Parameters

`id`

The identifier of the equipment to reparent.

`parent`

The identifier of the new parent.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)