Longoro 0 Newbie Poster

Let a sprite move back and forth is not a big problem, but what if you want to let it move around like a square - right - down - left - up and then run this in a loop. Anybody have a solution on how this can be done, and possibly the way that is best for this problem (array list, nested if statements, etc.).