---
title: axes
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcdevicephysicalinputstate/axes-80rx
---

# axes

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

## Declaration

```occ
@property (readonly) GCPhysicalInputElementCollection<NSString<GCAxisElementName> *,id<GCAxisElement>> * axes;
```

## See Also

### Accessing elements

- [elements](gamecontroller/gcdevicephysicalinputstate/elements-1shp2.md)
- [buttons](gamecontroller/gcdevicephysicalinputstate/buttons-3257g.md)
- [dpads](gamecontroller/gcdevicephysicalinputstate/dpads-5yr9x.md)
- [switches](gamecontroller/gcdevicephysicalinputstate/switches-6bws2.md)
- [subscript(_:)](gamecontroller/gcdevicephysicalinputstate/subscript(_:).md)
