Lua Constants
Artok Studio exposes several constants through nested tables in the UI global.
📐 UI.ALIGN
Used with UI.align(obj, align, x, y).
UI.ALIGN.CENTERUI.ALIGN.TOP_LEFTUI.ALIGN.TOP_MID
🚩 UI.FLAG
Used with UI.addFlag or UI.hasFlag.
UI.FLAG.HIDDEN: Hide the object.UI.FLAG.CLICKABLE: Toggle touch interaction.UI.FLAG.SCROLLABLE: Toggle scrolling behavior.
🎭 UI.EVENT
Standard events for manual binding.
UI.EVENT.PRESSEDUI.EVENT.CLICKEDUI.EVENT.VALUE_CHANGED
🏗 UI.PROP
Used for the UI.animate function.
UI.PROP.X: Animate horizontal position.UI.PROP.Y: Animate vertical position.UI.PROP.WIDTH: Animate width.UI.PROP.HEIGHT: Animate height.