A polygonal path that can be followed by an agent.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+
- tvOS 9.0+
To make an agent move to or stay within the area defined by a path, create a goal with the
init(to method; to make an agent traverse along a path, create a goal with the