---
title: "point(at:)"
framework: gameplaykit
role: symbol
role_heading: Instance Method
path: "gameplaykit/gkpath/point(at:)"
---

# point(at:)

Returns the 2D point at the specified index in the path’s list of vertices.

## Declaration

```swift
func point(at index: Int) -> vector_float2
```

## Parameters

- `index`: The index of the vertex to return, between 0 and the doc://com.apple.gameplaykit/documentation/GameplayKit/GKPath/numPoints value.

## Return Value

Return Value The vertex at the specified index.

## See Also

### Inspecting a Path’s Shape

- [numPoints](gameplaykit/gkpath/numpoints.md)
- [float2(at:)](gameplaykit/gkpath/float2(at:).md)
- [float3(at:)](gameplaykit/gkpath/float3(at:).md)
