https://developer.apple.com/documentation/gameplaykit/gkgoal/init(tofollow:maxpredictiontime:forward:)
init(toFollow:maxPredictionTime:forward:) | Apple Developer Documentation
Creates a goal whose effect is to both maintain position on and traverse the specified path.
apple developerinitforwarddocumentation