PatrolCompOpt:

waypoints?: Vec2[]

Path to follow. If null, starts suspended.

speed?: number

Speed of the movement during patrol.

endBehavior?: PatrolEndBehavior

What to do after the last waypoint has been reached.

kaplay logo

Misc

Layer