I am trying to move a Horizontally Centered Button out of screen by changing the x position. So I’ve subtracted the ScreenWidth to that button’s X position. It works for larger screen like iPhone 12 pro max (width 1284). But when I run it on iphone se 2020 (width: 750) the button moves just half of the sceen, not entirely out of the screen.

**The black line denotes the translation of button though in both cases translation magnitude is screenwidth**. I have checked screenwidths for both devices (1284 for 12 promax, 750 for se2020). Shows currectly even in the inspector on runtime.