Hi.
I do not know if it helps to make suggestions.
I have never got answers to my suggestions but I am going to do it.
My suggestion is to add "toggle" to mirrored.
It is useful to not be checking if an object is or is not mirrored.
Develop games in your browser. Powerful, performant & highly capable.
I think you can set: width = width*-1
since a sprite with negative width is considered mirrored.