standard.left
Audio Button Canvas Controller DropDown Html Image MediaRecorder Scale Text TextInput Tooltip Video Youtube
description
Makes the element appear horizontally aligned to the left (default).
syntax
getX(ELEMENT_NAME).left()
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.