Skip to content

getRopePositionAt

Client-side

Returns an interpolated point along a rope, read from the live native solver.

Syntax

Vector3|false getRopePositionAt(rope theRope, float progress)

Arguments

theRoperope

Managed rope element.

progressfloat

Position along the rope, from 0 at the top to 1 at the end.

Returns

A Vector3 world position, or false for an invalid rope or when the rope holds no native slot.

Ownership and lifecycle

A rope belongs to the resource that created it. GTA has eight native rope slots, so Neon leases them to the logical ropes that need one; a rope without a lease still exists but is not natively simulated at that moment. Every native type except swat requires a valid physical holder.

Important behavior
  • Client-only, because it reads the running solver rather than synchronized state.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →