---
name: "lnbGetColumnsPosition"
type: command
status: ok
groups: ["GUI Control - ListNBox"]
arma3_since: "0.50"
locality: {"argument": "local", "effect": "local", "server_exec": false}
source: https://community.bistudio.com/wiki/lnbGetColumnsPosition
revid: 377147
updated: 2026-01-01T10:34:03Z
---

# lnbGetColumnsPosition

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

Locality: arguments **local** · effect **local**

## Description

Returns relative screen X of ListNBox control columns position [0.1,0.3,0.6...]. Use [lnbSetColumnsPos](../commands/lnbSetColumnsPos.md) to set positions.

## Syntax

```sqf
lnbGetColumnsPosition _ctrl
```

**Parameters:**

- `_ctrl`: [Control](../topics/Control.md)

**Returns:** [Array](../topics/Array.md) of [Number](../topics/Number.md)s

## Examples

### Example 1

```sqf
lnbGetColumnsPosition _ctrl;
```

## See also

[lnbAddArray](../commands/lnbAddArray.md) · [lnbAddColumn](../commands/lnbAddColumn.md) · [lnbAddRow](../commands/lnbAddRow.md) · [lnbClear](../commands/lnbClear.md) · [lnbColor](../commands/lnbColor.md) · [lnbCurSelRow](../commands/lnbCurSelRow.md) · [lnbData](../commands/lnbData.md) · [lnbDeleteColumn](../commands/lnbDeleteColumn.md) · [lnbDeleteRow](../commands/lnbDeleteRow.md) · [lnbPicture](../commands/lnbPicture.md) · [lnbSetColor](../commands/lnbSetColor.md) · [lnbSetColumnsPos](../commands/lnbSetColumnsPos.md) · [lnbSetCurSelRow](../commands/lnbSetCurSelRow.md) · [lnbSetData](../commands/lnbSetData.md) · [lnbSetPicture](../commands/lnbSetPicture.md) · [lnbSetText](../commands/lnbSetText.md) · [lnbSetValue](../commands/lnbSetValue.md) · [lnbSize](../commands/lnbSize.md) · [lnbText](../commands/lnbText.md) · [lnbValue](../commands/lnbValue.md)

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