Inaccurate touch hit box

I have buttons on my game, when I play it in the editor the button’s hit box are fine, it’s exactly positioned on where the sprite is.
But when I build it and test it on my phone the hit box seems to be off the sprite or out of bounds which makes it hard to touch.
Any reasons why it happens? or any solutions? thanks!

I’ve had problems before with mobile stuff, and the Y value of the input not being correct.

I think it’s because the Y is inverted? Try inverting your Y value (also debugging the Vector2 at which your finger is touching).

unfortunately i’m using (i think) the global touch(?) I have no code whatsoever on clicking the button, i’m just using my mouse and it automatically transitions into touch when I import it on my phone