translateTo

open fun translateTo(x: Float, y: Float): UIElement

Sets the x,y translations of the ui element

NOTE: The behaviour of changing this parameters during an animation is unpredicted

Return

the current UIElement object

Parameters

x

the x position, relative to parent

y

the y position, relative to parent