Skip to content

setBreakEffectPaused

Client-side

Available in Neon, not standard MTA

Freezes or resumes a fracture's debris mid-flight.

Syntax

bool setBreakEffectPaused(break-effect theEffect, bool paused)

Arguments

theEffectbreak-effect

Break effect element returned by createObjectBreakEffect.

pausedbool

Whether the debris simulation is frozen.

Returns

true when applied; false for an invalid effect.

Ownership and lifecycle

A break effect belongs to the resource that created it and is removed when that resource stops. Fragment geometry is cached per model, so repeated fractures of the same model reuse the first computed cut until the cache is cleared.

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →