---
title: saveSnapshot()
framework: gamecontroller
role: symbol
role_heading: Instance Method
path: gamecontroller/gcgamepad/savesnapshot()
---

# saveSnapshot()

Saves a snapshot of all of the profile’s elements.

## Declaration

```swift
func saveSnapshot() -> GCGamepadSnapshot
```

## Return Value

Return Value A snapshot object that contains the current controller state.
