Contents

region

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

Declaration

var region: SKRegion? { get set }

Discussion

A field node applies its effect to all physics bodies that are partially or completely inside its region. The default value is a region of infinite size.

See Also

Determining Which Physics Bodies Are Affected by the Field