# X

## Introduction

The X property controls the horizontal position for an object. The X value represents the position of an object's [X Origin](https://docs.flatredball.com/gum/gum-tool/gum-elements/general-properties/x-origin), using its [X Units](https://docs.flatredball.com/gum/gum-tool/gum-elements/general-properties/x-units).

## Example

By default, an object's top-left corner is positioned relative to its parent's top-left corner.

![](https://2695663588-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M_fzQmxQ1VeUFHcoo2c%2Fuploads%2Fgit-blob-a5ccbb0be12c3e63a94cf7f0693d776bfe666a3d%2FXExample.gif?alt=media)
