# Editor.MapEditor.EditorContext.FindTarget

```csharp
EntityObject FindTarget(string name)
```

Given a string name return the first found target

### Parameters

- `name` (`string`)

### Returns

`EntityObject`

Declared in [Editor.MapEditor.EditorContext](/api/Editor.MapEditor.EditorContext).
Assembly: `Sandbox.Tools`.
