---
name: "ropeDetach"
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/ropeDetach
revid: 319665
updated: 2022-05-13T09:24:40Z
---

# ropeDetach

*Command · Ropes and Sling Loading · Arma 3 v1.34 · introduced in Take On Helicopters v1.00*

## Description

Detaches attached object from rope (i.e. detaches rope end from attached to it entity). See [ropeAttachTo](../commands/ropeAttachTo.md) for attach operation.

## Syntax

```sqf
attachedObject ropeDetach rope
```

**Parameters:**

- `attachedObject`: [Object](../topics/Object.md) - entity attached to the end of rope
- `rope`: [Object](../topics/Object.md) - rope object to which entity is attached

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

## Examples

### Example 1

```sqf
vehicle player ropeDetach myRope;
```

## See also

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

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