---
title: GCPoint2
framework: gamecontroller
role: symbol
role_heading: Structure
path: gamecontroller/gcpoint2
---

# GCPoint2

A structure that represents a normalized point in a two-dimensional coordinate system.

## Declaration

```swift
struct GCPoint2
```

## Topics

### Creating a point

- [init()](gamecontroller/gcpoint2/init().md)
- [init(x:y:)](gamecontroller/gcpoint2/init(x:y:).md)
- [GCPoint2Make(_:_:)](gamecontroller/gcpoint2make(_:_:).md)
- [GCPoint2Zero](gamecontroller/gcpoint2zero.md)

### Accessing coordinates

- [x](gamecontroller/gcpoint2/x.md)
- [y](gamecontroller/gcpoint2/y.md)

### Comparing and converting points

- [GCPoint2Equal(_:_:)](gamecontroller/gcpoint2equal(_:_:).md)
- [NSStringFromGCPoint2(_:)](gamecontroller/nsstringfromgcpoint2(_:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Getting the value

- [value](gamecontroller/gcaxis2dinput/value.md)
- [valueDidChangeHandler](gamecontroller/gcaxis2dinput/valuedidchangehandler.md)
- [lastValueTimestamp](gamecontroller/gcaxis2dinput/lastvaluetimestamp.md)
- [lastValueLatency](gamecontroller/gcaxis2dinput/lastvaluelatency.md)
