diff --git a/src/gameobjects/pathfollower/typedefs/PathConfig.js b/src/gameobjects/pathfollower/typedefs/PathConfig.js index 8d21d48ae..24f60aa93 100644 --- a/src/gameobjects/pathfollower/typedefs/PathConfig.js +++ b/src/gameobjects/pathfollower/typedefs/PathConfig.js @@ -4,7 +4,7 @@ * @typedef {object} Phaser.Types.GameObjects.PathFollower.PathConfig * @since 3.0.0 * - * @property {number} duration - The duration of the path follow in ms. Must be `> 0`. + * @property {number} [duration=1000] - The duration of the path follow in ms. Must be `> 0`. * @property {number} [from=0] - The start position of the path follow, between 0 and 1. Must be less than `to`. * @property {number} [to=1] - The end position of the path follow, between 0 and 1. Must be more than `from`. * @property {boolean} [positionOnPath=false] - Whether to position the PathFollower on the Path using its path offset.