---
name: "ropeCut"
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/ropeCut
revid: 353360
updated: 2024-03-15T17:11:55Z
---

# ropeCut

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

## Description

Cuts the given rope to the specified length. If some entity was attached to the end of the rope, it will be detached. The rope remains attached to its parent transport and if the length is set to 0 or even negative does not get destroyed. Use [ropeDestroy](../commands/ropeDestroy.md) to remove it completely.

> [!NOTE]
> The rope could only be shortened. If the cut length is greater than current rope length, nothing happens

## Syntax

```sqf
ropeCut [rope, length]
```

**Parameters:**

- `rope`: [Object](../topics/Object.md) - rope object obtained from [ropeCreate](../commands/ropeCreate.md)
- `length`: [Number](../topics/Number.md) - length of the rope in meters after the cut

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

## Examples

### Example 1

```sqf
ropeCut [ropes heli1 select 0, 5];
```

## 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) · [ropeEndPosition](../commands/ropeEndPosition.md) · [ropeUnwind](../commands/ropeUnwind.md) · [setSlingLoad](../commands/setSlingLoad.md) · [slingLoadAssistantShown](../commands/slingLoadAssistantShown.md)

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