---
title: "removePin(named:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/geometricpinscomponent/removepin(named:)"
---

# removePin(named:)

Removes the pin associated with the name.

## Declaration

```swift
@discardableResult mutating func removePin(named name: String) -> GeometricPin?
```

## Parameters

- `name`: The name of the pin to remove.
