mirror moving character

a character is moving along only one axis
how to make that character when you press the “back” was moving in the mirror?
as in 2D platformer

the question is removed