Element can not click when setting negative scale


I tried to mirror flip the UI element by setting the scale to -1,all seems right expect I can’t click it anymore,the click event just not fire.Is there anyway to slove this?


Indeed I was able to reproduce this, seems to be messing with the picker used to detect clicks on the element. This seems like a bug or missing feature, not sure if negative scales are supported on the elements.

Could you log this on the engine repo? It might have an easy fix.


Would rotating the element 180 degrees be a usable workaround for your element? You may need to set the material culling to “None” or “Front” to make it visible once rotated.


The element component should have a flip X/Y attribute added like the Sprite component :thinking:


That seems sensible to me.