Phaser API Documentation

  Version: 
startFollow([config], [startAt])

Description:

Starts this PathFollower following its given Path.

Parameters:

name type arguments Default description
config number | Phaser.Types.GameObjects.PathFollower.PathConfig | Phaser.Types.Tweens.NumberTweenBuilderConfig <optional> {}

The duration of the follow, or a PathFollower config object.

startAt number <optional> 0

Optional start position of the follow, between 0 and 1.

Returns:
Description:

This Game Object.

Since: 3.3.0