---
name: "stance"
type: command
status: ok
groups: ["Unit Control"]
arma3_since: "0.50"
locality: {"argument": "global", "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/stance
revid: 363221
updated: 2024-03-25T22:48:35Z
---

# stance

*Command · Unit Control · Arma 3 v0.50*

Locality: arguments **global**

## Description

Returns the stance of the given unit.

## Syntax

```sqf
stance unit
```

**Parameters:**

- `unit`: [Object](../topics/Object.md)

**Returns:** [String](../topics/String.md) - can be:
- `"STAND"`
- `"CROUCH"`
- `"PRONE"`
- `"UNDEFINED"` (for example, swimming)
- `""` (on non-person [object](../topics/Object.md))

## Examples

### Example 1

```sqf
if (stance player == "STAND") then { hint "I am standing!" };
```

## See also

[animationState](../commands/animationState.md) · [unitPos](../commands/unitPos.md) · [pose](../commands/pose.md) · [getLeaning](../commands/getLeaning.md)

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