---
name: "setHorizonParallaxCoef"
type: command
status: ok
groups: ["Camera Control", "System"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/setHorizonParallaxCoef
revid: 309900
updated: 2022-05-05T12:16:47Z
---

# setHorizonParallaxCoef

*Command · Camera Control, System · Arma 3 v0.50*

## Description

Sets coef used to shift horizon position based on camera height (use 0 to disable shifting).

## Syntax

```sqf
setHorizonParallaxCoef coef
```

**Parameters:**

- `coef`: [Number](../topics/Number.md)

**Returns:** [Nothing](../topics/Nothing.md)

## Examples

### Example 1

```sqf
setHorizonParallaxCoef 1;
```

<sub>Source: [BI Community Wiki — setHorizonParallaxCoef](https://community.bistudio.com/wiki/setHorizonParallaxCoef) (revision 309900).</sub>
