---
title: axes
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcdevicephysicalinputstate/axes-5u1xr
---

# axes

The device’s axes as key-value pairs for lookup by name.

## Declaration

```swift
var axes: GCPhysicalInputElementCollection<any GCAxisElement> { get }
```

## See Also

### Accessing elements

- [elements](gamecontroller/gcdevicephysicalinputstate/elements-46hgy.md)
- [buttons](gamecontroller/gcdevicephysicalinputstate/buttons-2ovae.md)
- [dpads](gamecontroller/gcdevicephysicalinputstate/dpads-7b4o3.md)
- [switches](gamecontroller/gcdevicephysicalinputstate/switches-6dcny.md)
- [subscript(_:)](gamecontroller/gcdevicephysicalinputstate/subscript(_:).md)
