Moving a button out of screen in iPhone

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.


![187263-both.png|341x200](upload://aacjHjoYcFfHiHOHH9qRM6fCNU0.png)
**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.

I am wondering why you want to move it off the screen at all. If you want it so they can’t interact with it, just disable it. If it is disabled, it doesn’t require any processing time and you can enable it later if you want it back.