# `GSGlyphEditView getActiveLocation:`

*Instance Method*

Translates the view coordinate from the event into glyph coordinates of the active layer.

## Declaration

```swift
func getActiveLocation(_ theEvent: NSEvent?) -> NSPoint
```

```objc
- (NSPoint) getActiveLocation:(NSEvent *) theEvent;
```

```python
getActiveLocation_(theEvent: NSEvent) -> NSPoint
```

## Parameters

- `theEvent` — A mouse down event

## Return Value

The coordinates

