---
title: capture()
framework: gamecontroller
role: symbol
role_heading: Instance Method
path: gamecontroller/gcracingwheelinput/capture()
---

# capture()

Returns a snapshot of the racing wheel inputs.

## Declaration

```swift
func capture() -> GCRacingWheelInputState
```

## Return Value

Return Value A new instance containing the current state vector of the racing wheel input.
