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

# yAxis

The y-axis element of the directional pad.

## Declaration

```swift
var yAxis: GCControllerAxisInput { get }
```

## See Also

### Accessing values using the axes

- [xAxis](gamecontroller/gccontrollerdirectionpad/xaxis.md)
