Reference Manual: (offline | online) Quickstart: (offline | online)

# Move

Function: Move( | startpos, endpos, time, repeat=False, bounce=False, time_warp=None, **properties)

Move is similar to Pan , insofar as it involves moving things. But where Pan moves the screen through an image, Move moves an image on the screen. Specifially, move changes the position style of an image with time.

Move takes as parameters a starting position, an ending position, the amount of time it takes to move from the starting position to the ending position, and extra position properties. The positions are given as tuples containing xpos and ypos properties. The positions may be integer or floating point, but it's not permissable to mix the two. repeat, bounce, and time_warp are as for Motion .

## Example

    "The following example moves a ball from the upper-left to the
     lower-right of the screen, taking 10 seconds to do so."

    show ball at Move((0.0, 0.0), (1.0, 1.0), 10.0,
                      xanchor="center", yanchor="center")

Reference Manual: (offline | online) Quickstart: (offline | online)