How can I get a sprite to animate with orthello 2d?

Hi, I am relatively new to these forums ( my 2nd or 3rd post) so please excuse me if this is not the right place to put this.

I am sort of new to Unity (only 3 months) but can understand some of the logic that goes into coding (previouse experience was Gamemaker). I am trying to use orthello 2d for a 2d game I am creating with a group of my friends (who are basically the artists so they cannot help me code). I have recently run into a problem with orthello when trying to get the character to walk. The character does move but after setting up orthello it only animates the first frame of the walking animation.

After reading some of the documentation I have learned that the reason for that happening is because since it is placed in the update function everytime I press the left arrow key it would constantly reset the animation to the first frame.

My question is how can I still get it to animate while I move and stop when the character stops?

Here is part of the code (only shows the idleRight and walkRight):

private var mySprite : OTAnimatingSprite;
function Start(){
mySprite = GetComponent("OTAnimatingSprite");
}
function Update () {
/*************ANIMATION*************/
	
	velocity = Vector3(Input.GetAxis("Horizontal"),0,0);
if (velocity.x==0  moveDirection2 == 1) 		//idle right
			{
				mySprite.Play("idleRight");
			}
if (velocity.x>0)								//walk Right
			{
				velocity*=walkSpeed;
				mySprite.Play("walkRight");
			}

If there is any more questions please ask.

Is there really no answer to this? I have also asked in Unity’s Q and A and there was still no response.

I know this was posted nearly a year ago, but I’ll post how I fixed this problem, in case anyone else is looking for an answer.

if (velocity.x>0)  //walk Right
{
    velocity*=walkSpeed;
    if (mySprite.animationFrameset != "walkRight")
        mySprite.Play("walkRight");

}

I added this extra IF statement, because before it was constantly playing it on every update.So it looked like it wasn’t moving from the first frame, but it was just being reset on every update.