There’s a command in the API that allows you to do that:
app.command.Flip {target = "mask", orientation = "horizontal"}
I can send you a modified built with it unless you want to add a button with it yourself ✌️