standard.left

description

Makes the element appear horizontally aligned to the left (default).

syntax

getX(ELEMENT_NAME).left()

What does getX() mean?

notes

  • Note: the left means the left of the container of the element, not necessarily the left of the screen.

example(s)


@newText("helloworld", "Hello world")
@    .right()
@    .print()
@,
@newButton("left", "Align text to the left")
@    .print()
@    .wait()
@,
@getText("helloworld")
$    .left()
  • Prints Hello world onto the screen, horizontally aligned to the left.