* Takes the given `x` and `y` coordinates and converts them into local space for this * Game Object, taking into account parent and local transforms, and the Display Origin. * * The returned Vector2 contains the translated point in its properties.
(x: number, y: number, point?: Phaser.Math.Vector2, camera?: Phaser.Cameras.Scene2D.Camera)
| 20549 | * @returns The translated point. |
| 20550 | */ |
| 20551 | getLocalPoint(x: number, y: number, point?: Phaser.Math.Vector2, camera?: Phaser.Cameras.Scene2D.Camera): Phaser.Math.Vector2; |
| 20552 | /** |
| 20553 | * Gets the world position of this Game Object, factoring in any parent Containers. |
| 20554 | * @param point A Vector2, or point-like object, to store the result in. |