Phaser API Documentation

motionFactor: number


The factor applied to the motion smoothing each frame.

This value is passed to the Smooth Step Interpolation that is used to calculate the velocity, angle and distance of the Pointer. It's applied every frame, until the midPoint reaches the current position of the Pointer. 0.2 provides a good average but can be increased if you need a quicker update and are working in a high performance environment. Never set this value to zero.

Default: 0.2
Since: 3.16.0
Source: src/input/Pointer.js (Line 245)