Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

X Origin

Introduction

The X Origin variable controls the point which an object is positioned by. By default the X Origin is Left. X Origin is shown visually as a white "X" in the editor.

ColoredRectangle with an X Origin of Left

Left

The following image shows a ColoredRectangle with its X Origin set to Left:

Colored Rectangle with X Origin set to Left

Center

The following image shows a ColoredRectangle with its X Origin set to Center:

ColoredRectangle with X Origin set to Center

The following image shows a ColoredRectangle with its X Origin set to Right:

ColoredRectangle with its X Origin set to Right

X Origin in a Left to Right Stack

A child in a Left to Right Stack which is not the first child ignores its X Origin, and the stack positions it as if its X Origin were Left. This keeps it from overlapping its previous sibling. The first child in the stack uses its X Origin normally, and X Origin works normally for every child in a Top to Bottom Stack.

Last updated

Was this helpful?