---
title: touchSurface
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gccontrollertouchpad/touchsurface
---

# touchSurface

The element that represents the state of the user’s touch on the surface of the touchpad.

## Declaration

```swift
var touchSurface: GCControllerDirectionPad { get }
```

## Discussion

Discussion This element provides the recent or last touch positions on the two axes. Use the touchState property to determine whether the user is currently touching the surface.

## See Also

### Getting the subelements

- [button](gamecontroller/gccontrollertouchpad/button.md)
