sprite move mirror animation

hello how to get mirror animation?
this is my code
https://dl.dropboxusercontent.com/sh/m6loiqj7w41ks7c/WtURuhVUrm/MHS.html

"Horizontal")< 0));
    		float h = Input.GetAxis("Horizontal") *

Time.deltaTime * moveSpeed;

    		anim.SetFloat("moveSpeedH",Mathf.Abs(-h));
    		float v = Input.GetAxis("Vertical")  *

Time.deltaTime * moveSpeed;

    		transform.Translate(new Vector3 (h, 0, 0));
    		
    		
    		transform.Translate(new Vector3 (0, v, 0));

1 Answer

1

You can apply a negative scale on x axis.