Contents

active

The state of the push behavior’s force: either active or inactive.

Declaration

var active: Bool { get set }

Discussion

After you’ve added a push behavior to a dynamic animator, use this property to activate or deactivate the behavior’s force (rather than removing and then re-adding the behavior to the animator).

See Also

Initializing and managing a push behavior