# `GlyphsPathPlugin getHandleRect:isSelected:atPoint:`

*Instance Method*

The rect that for drawing the node

## Declaration

```swift
func getHandleRect(_ point: NSPoint, isSelected selected: Bool, at layerOrigin: NSPoint) -> NSRect
```

```objc
- (NSRect) getHandleRect:(NSPoint) point isSelected:(bool) selected atPoint:(NSPoint) layerOrigin;
```

```python
getHandleRect_isSelected_atPoint_(point: NSPoint, selected: bool, layerOrigin: NSPoint) -> NSRect
```

## Parameters

- `point` — The node position
- `selected` — If the node is selected or not
- `layerOrigin` — The origin point of the current layer

## Return Value

The rect

