Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Geom.Rectangle
x: number
Description:
The X coordinate of the top left corner of the Rectangle.
Type:
number
Default:
0
Since:
3.0.0
Source:
src/geom/rectangle/Rectangle.js
(Line
51
)
Possible examples