---
title: "setValue(_:)"
framework: gamecontroller
role: symbol
role_heading: Instance Method
path: "gamecontroller/gccontrolleraxisinput/setvalue(_:)"
---

# setValue(_:)

Sets the normalized value of the axis.

## Declaration

```swift
func setValue(_ value: Float)
```

## Parameters

- `value`: A normalized value ranging from -1 to 1 where 0 is in the dead zone.

## See Also

### Accessing the input values

- [value](gamecontroller/gccontrolleraxisinput/value.md)
