Skip to content

setBirdMovementEnabled

Client-side

Available in Neon, not standard MTA

Freezes one managed bird in place or lets it fly again.

Syntax

bool setBirdMovementEnabled(bird theBird, bool enabled)

Arguments

theBirdbird

Managed bird element.

enabledbool

Whether the bird moves.

Returns

true when applied; false for an invalid element.

Ownership and lifecycle

A bird belongs to the client resource that created it and is removed when that resource stops. Birds fade near their render distance instead of being destroyed, and a dimension or interior mismatch hides them while keeping the element alive.

Important behavior
  • Freezing one bird leaves the rest of the flock flying, which is how a single bird is pulled out of a formation.

OOP aliases

  • bird:setMovementEnabled(enabled)
  • bird.movementEnabled

Where this comes from

RELATED NEON APIS

Continue exploring

Read the system guide →