Phaser API Documentation

  Version: 
worldY: number

Description:

The y position of this Pointer, translated into the coordinate space of the most recent Camera it interacted with.

If you wish to use this value outside of an input event handler then you should update it first by calling the Pointer.updateWorldPoint method.

Type:
number
Default: 0
Since: 3.10.0
Source: src/input/Pointer.js (Line 274)