---
name: "progressSetPosition"
type: command
status: ok
groups: ["GUI Control"]
arma3_since: "0.50"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/progressSetPosition
revid: 369221
updated: 2024-09-03T10:34:54Z
---

# progressSetPosition

*Command · GUI Control · Arma 3 v0.50 · introduced in Arma 2 v1.00*

## Description

Sets progress position of a progress bar.

## Syntax

```sqf
control progressSetPosition progress
```

**Parameters:**

- `control`: [Control](../topics/Control.md) - progress bar control
- `progress`: [Number](../topics/Number.md) - 0: no progress; 1: full progress

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

## Examples

### Example 1

```sqf
_control progressSetPosition 0.5;
```

### Example 2

```sqf
with uiNamespace do {
    bar = findDisplay 46 ctrlCreate ["RscProgress", -1];
    bar ctrlSetPosition [0,0,1,0.01];
    bar ctrlCommit 0;
    bar progressSetPosition 0.75;
};
```

## See also

[progressPosition](../commands/progressPosition.md) · [ctrlSetScrollValues](../commands/ctrlSetScrollValues.md) · [sliderSetPosition](../commands/sliderSetPosition.md)

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