Phaser API Documentation

  Version: 
<private> updateMotion()

Description:

Calculates the motion of this Pointer, including its velocity and angle of movement. This method is called automatically each frame by the Input Manager.

Since: 3.16.0
Source: src/input/Pointer.js (Line 538)