Contents

touchSurface

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

Declaration

var touchSurface: GCControllerDirectionPad { get }

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