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

# up

The input object that represents the up button on the directional pad.

## Declaration

```swift
var up: any GCLinearInput & GCPressedStateInput { get }
```

## See Also

### Directional buttons

- [left](gamecontroller/gcdirectionpadelement/left.md)
- [right](gamecontroller/gcdirectionpadelement/right.md)
- [down](gamecontroller/gcdirectionpadelement/down.md)
