Flipping a component with a script

                        0.0, # x scale factor
                        0.0, # x skew factor
                        0.0, # y skew factor
                        -1, # y scale factor
                        0.0, # x position
                        0.0  # y position

I have components tha have -100% Y, i.e. flipped vertically, and want to flip it back to normal, so I use the above but it just the component height 0%?


I figured out whats wrong the x scale factor needs to be 1.0 as well… then I’ll have to fix the x and y but thats fine.

1 Like

To fix the position, you can ask the component for its bounds and add or subtract the width or height.