Try this to have a sprite change it's x from 5 to 100 in 6 seconds after a click.
global variable start_value=5
global variable end_value=100
global variable duration=6
global variable start_time=0
+On click
--- set start_time to time
+time < start_time+duration
--- Sprite: set x to lerp(start_value, end_value, (time-start_time)/duration)
+time >= start_time+duration
+trigger once
--- Sprite: set x to end_value