---
title: "remove(named:)"
framework: realitykit
role: symbol
role_heading: Instance Method
path: "realitykit/entitygeometricpins/remove(named:)"
---

# remove(named:)

Removes a geometric pin with the given name from this entity.

## Declaration

```swift
@MainActor func remove(named name: String)
```

## Parameters

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

## Discussion

Discussion If found, the pin is removed from the entity’s GeometricPinsComponent. There is no effect if no matching GeometricPin is found.
