How can I position my GUI depending on the user's device?

Hello, I want to position my GUI on a different place depending on the player’s device. This is so my mobile controls don’t appear like this for pc players:

and it will look like this for pc players:

I haven’t found a way to do so.

use UserInputService.KeyboardEnabled and UserInputService.TouchEnabled

local UIS = game:GetService("UserInputService")

if UIS.KeyboardEnabled then
    print("Player is using PC")
elseif UIS.TouchEnabled then
    print("Player is using mobile")

So you know how you have a position for each element? Change the position mode to the percentage by putting the GUI position to eg. {0.1,0,0.1,0} instead of {0,0.1,0,0.1}

just position the UIs using scale other than offset