---
title: buttonShare
framework: gamecontroller
role: symbol
role_heading: Instance Property
path: gamecontroller/gcxboxgamepad/buttonshare
---

# buttonShare

The share button on an Xbox Series X|S controller or later.

## Declaration

```swift
var buttonShare: GCControllerButtonInput? { get }
```

## Discussion

Discussion The system reserves the Share button for screenshot and video recording gestures. If you want to disable these gestures in your app, set the button’s preferredSystemGestureState to GCControllerElement.SystemGestureState.disabled.

## See Also

### Getting button inputs

- [paddleButton1](gamecontroller/gcxboxgamepad/paddlebutton1.md)
- [paddleButton2](gamecontroller/gcxboxgamepad/paddlebutton2.md)
- [paddleButton3](gamecontroller/gcxboxgamepad/paddlebutton3.md)
- [paddleButton4](gamecontroller/gcxboxgamepad/paddlebutton4.md)
