---
title: "pathComponentCell(at:withFrame:in:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nspathcell/pathcomponentcell(at:withframe:in:)"
---

# pathComponentCell(at:withFrame:in:)

Returns the cell located at the given point within the given frame of the given view.

## Declaration

```swift
func pathComponentCell(at point: NSPoint, withFrame frame: NSRect, in view: NSView) -> NSPathComponentCell?
```

## Parameters

- `point`: The point within the returned cell.
- `frame`: The frame within which the point is located.
- `view`: The view within which the frame is located.

## Return Value

Return Value The component cell within which the given point is located, or nil if no cell exists at that location.

## See Also

### Managing Path Components

- [pathComponentCellClass](appkit/nspathcell/pathcomponentcellclass.md)
- [rect(of:withFrame:in:)](appkit/nspathcell/rect(of:withframe:in:).md)
- [clickedPathComponentCell](appkit/nspathcell/clickedpathcomponentcell.md)
- [pathComponentCells](appkit/nspathcell/pathcomponentcells.md)
