moveX()


Translates an object horizontally

moveX(x, f1, f2)
x Number of units going to the right
f1 Start frame
f2 End frame

Example:

shape = triangle(30, 75, 58, 20, 86, 75)
shape.moveX(10, 1, 80)
                            
shape.draw(1, 1000)