time: number execution time (must be greater than 0)
x: number abscissa value
y: number vertical coordinate value
Return value and type:
code:number succeeded (ErrorCode.OK) ErrorCode
The main effect of this method: The component is moved smoothly to the specified position
Specific use cases are as follows:
local code = Customui:SmoothMoveTo(playerid, uiid, elementid, time, x, y)
if code == ErrorCode.OK then
print('Execution Successful' )
else
print('Execution failed')
end