standard.right
Audio Button Canvas Controller DropDown Html Image MediaRecorder Scale Text TextInput Tooltip Video Youtube
description
Makes the element appear horizontally aligned to the right.
syntax
getX(ELEMENT_NAME).right()
notes
- Note: the right means the right of the container of the element, not necessarily the right of the screen.
example(s)
@
@newText("sentence", "This is a longer sentence")
@ .print()
@,
@newText("helloworld", "Hello world")
$ .right()
@ .print()
- Prints Hello world onto the screen, horizontally aligned to the right.