Transform flip horizontal at runtime

Hi there

i have a bug that follows the users mouse, it currently faces left, but if it is to the left of th emouse, i would like it to flip horizontally so it is facing right

i cant seem to find how to do this

any ideas