ikConstraint.isActive

Type: boolean
See also: ikConstraint

Overview:


Indicates whether this IK constraint is currently active. If set to false, the constraint’s effect is disabled, and the bones are left to their usual animation transforms.

Example:


local ik = hero.ikConstraints[1]
ik.isActive = false  -- Temporarily disable the IK
ik.isActive = true   -- Re-enable the IK