How to invert controls?

I ended up making the controls work after 3 days of trying stuff.
with my pervious code to switch the camera and sprite you must add a variable (named like isinverted?) with your code to move left and right use a branch (make sure conditon is isinverted?), plug eveything in the branch them make the original movment out of the false to make it move normally, then at the end of the camera switching code make to add a set isinverted? to true, then on your actually 2d side scroller make sure you addmovment input to the reverse of the false movment. (same steps can be taken for up and down movement) If the screen shots dont make sense just dm and ill explain/provide more screenshot (also working on multiple switching angles so your character can switch to any postion and the controls wont be inverted)