When body of html use scale, gui shows correct but button click uncorrect with wrong interaction area

When I use scale of body in html, gui shows correct.

But when I click button, I found the interaction area of button is uncorrect. The interaction area is still the same as before scale of body.

Here is my test html.

Heya, here’s another thread for reference that talks about how CSS transformations aren’t supported for scene picking or GUI input. So I guess the simplest workaround would be to adjust the width, height, top, and left properties instead…

Otherwise it looks like you would need to override and customize the pointer calculations if you want to use the CSS scaling transform. :point_down:

1 Like