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

# right

The button element that changes the positive x-axis.

## Declaration

```swift
var right: GCControllerButtonInput { get }
```

## Discussion

Discussion The value of the right and left buttons are mutually exclusive because the user can only press one of these buttons at a time. Therefore, when the right button is nonzero, the left button is 0.

## See Also

### Accessing values using directional buttons

- [left](gamecontroller/gccontrollerdirectionpad/left.md)
- [up](gamecontroller/gccontrollerdirectionpad/up.md)
- [down](gamecontroller/gccontrollerdirectionpad/down.md)
