Phaser API Documentation

  Version: 
<readonly> angle: number

Description:

The current angle the Pointer is moving, in radians, based on its previous and current position.

The angle is based on the old position facing to the current position.

This property is updated whenever the Pointer moves, regardless of any button states. In other words, it changes based on movement alone - a button doesn't have to be pressed first.

Type:
number
Since: 3.16.0
Source: src/input/Pointer.js (Line 192)