Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Geom.Point
<static> Invert(point)
Description:
Swaps the X and the Y coordinate of a point.
Parameters:
name
type
description
point
Phaser.Geom.Point
The Point to modify.
Returns:
Description:
The modified
point
.
Type:
Phaser.Geom.Point
Since:
3.0.0
Source:
src/geom/point/Invert.js
(Line
7
)
Possible examples