Instance Property

isEnabled

A Boolean value that indicates whether the field is active.

Declaration

var isEnabled: Bool { get set }

See Also

Determining Which Physics Bodies Are Affected by the Field

var isExclusive: Bool

A Boolean value that indicates whether the field node should override all other field nodes that might otherwise affect physics bodies.

var region: SKRegion?

The area (relative to the node’s origin) that the field affects.

var minimumRadius: Float

The minimum value for distance-based effects.

var categoryBitMask: UInt32

A mask that defines which categories this field belongs to.