---
title: yAxis
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcdirectionpadelement/yaxis
---

# yAxis

The input object that represents the y-axis on the directional pad.

## Declaration

```swift
var yAxis: any GCAxisInput { get }
```

## See Also

### Axes

- [xAxis](gamecontroller/gcdirectionpadelement/xaxis.md)
- [xyAxes](gamecontroller/gcdirectionpadelement/xyaxes.md)
- [GCAxis2DInput](gamecontroller/gcaxis2dinput.md)
