---
title: "node(withPoint:)"
framework: gameplaykit
role: symbol
role_heading: Type Method
path: "gameplaykit/gkgraphnode2d/node(withpoint:)"
---

# node(withPoint:)

Creates a graph node with the specified point.

## Declaration

```swift
class func node(withPoint point: vector_float2) -> Self
```

## Parameters

- `point`: The position for the node in continuous 2D space.

## Return Value

Return Value A new graph node representing the specified point.

## See Also

### Creating a Graph Node

- [init(point:)](gameplaykit/gkgraphnode2d/init(point:).md)
