---
title: "reparent(ids:to:)"
framework: tabletopkit
role: symbol
role_heading: Instance Method
path: "tabletopkit/equipmentcollection/reparent(ids:to:)"
---

# reparent(ids:to:)

Change the parent of the equipment matching the given identifiers. The reparented equipment is appended at the end of the parent’s children.

## Declaration

```swift
func reparent(ids: [EquipmentIdentifier], to parent: EquipmentIdentifier)
```

## Parameters

- `ids`: The collection of equipment identifiers to corresponding to the equipment to reparent.
- `parent`: The identifier of the new parent.

## See Also

### Changing the parent

- [reparent(id:to:)](tabletopkit/equipmentcollection/reparent(id:to:).md)
