We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5018061 commit 7125334Copy full SHA for 7125334
1 file changed
src/gameobjects/pathfollower/typedefs/PathConfig.js
@@ -4,7 +4,7 @@
4
* @typedef {object} Phaser.Types.GameObjects.PathFollower.PathConfig
5
* @since 3.0.0
6
*
7
- * @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`.
8
* @property {number} [from=0] - The start position of the path follow, between 0 and 1. Must be less than `to`.
9
* @property {number} [to=1] - The end position of the path follow, between 0 and 1. Must be more than `from`.
10
* @property {boolean} [positionOnPath=false] - Whether to position the PathFollower on the Path using its path offset.
0 commit comments