Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.GameObjects.Graphics
x: number
Description:
The x position of this Game Object.
Type:
number
Default:
0
Inherited from:
Phaser.GameObjects.Components.Transform#x
Since:
3.0.0
Source:
src/gameobjects/components/Transform.js
(Line
59
)
Possible examples