---
name: "ropeEndPosition"
type: command
status: ok
groups: ["Ropes and Sling Loading"]
arma3_since: "1.34"
locality: {"argument": null, "effect": null, "server_exec": false}
source: https://community.bistudio.com/wiki/ropeEndPosition
revid: 377646
updated: 2026-01-02T09:01:47Z
---

# ropeEndPosition

*Command · Ropes and Sling Loading · Arma 3 v1.34*

## Description

Returns start and end positions for the given [rope](../commands/ropeCreate.md). If command fails, empty array `[]` is returned.

## Syntax

```sqf
ropeEndPosition rope
```

**Parameters:**

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

**Returns:** [Array](../topics/Array.md) with [startPos, endPos]
- startPos: [PositionAGL](../topics/Position.md#positionagl)
- endPos: [PositionAGL](../topics/Position.md#positionagl)

## Examples

### Example 1

```sqf
_ends = ropeEndPosition (ropes heli1 select 0);
_start = _ends select 0;
_end = _ends select 1;
```

## See also

[ropes](../commands/ropes.md) · [canSlingLoad](../commands/canSlingLoad.md) · [enableRopeAttach](../commands/enableRopeAttach.md) · [getSlingLoad](../commands/getSlingLoad.md) · [ropeAttachedObjects](../commands/ropeAttachedObjects.md) · [ropeAttachTo](../commands/ropeAttachTo.md) · [ropeDestroy](../commands/ropeDestroy.md) · [ropeLength](../commands/ropeLength.md) · [ropeUnwound](../commands/ropeUnwound.md) · [ropeAttachedTo](../commands/ropeAttachedTo.md) · [ropeCreate](../commands/ropeCreate.md) · [ropeDetach](../commands/ropeDetach.md) · [ropeAttachEnabled](../commands/ropeAttachEnabled.md) · [ropeCut](../commands/ropeCut.md) · [ropeUnwind](../commands/ropeUnwind.md) · [setSlingLoad](../commands/setSlingLoad.md) · [slingLoadAssistantShown](../commands/slingLoadAssistantShown.md)

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