alignment will control how the object is aligned, working together with hOffset. alignment also is a synonym of hAlign, so never use both.

Possible Values: Edit

  • left - hOffset will correspond to the left edge
  • right - hOffset will correspond to the right edge
  • center - hOffset will correspond to the middle

JavaScript: Edit

myObjectName.alignment = "center";

Example: Edit


Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.