I have six objects (alla are symbols) lined up to the right of my stage. If i click on one object, the object animates from right to the center of the stage.
Lets say I want to click on one of the remaining objects so it also animates to the center, but at the same time have the previous clicked object return to its original position. For example: I click on Object1 and it animates to the center. I click on Object4 and it animates to center, but also returns Object1. How do I do that? I'm a beginner to javascript, so I have no clue how to write the code for this action.