I am trying to make a MovieClip follow another MovieClip until contact
I am trying to make a MovieClip follow another MovieClip until contact I am trying to make a MovieClip follow another MovieClip until contact. One MovieClip moves by Accelerometer, I have done the accelerometer part. I just need the other half which is moving a Movieclip by itself towards the movieclip with accelerometer event What have you tried so far? if(mc1.x > mc2.x){ mc2.x++; } and so on? – kaarto Jul 1 at 4:36 if(mc1.x > mc2.x){ mc2.x++; } I tried this code but I am sure there is a simpler way to do it – Bryan Perez Jul 2 at 16:50 my two objects are ship and enemy, I am trying for the enemy to follow the ship until contact or shoot by the player ...