GUI change not showing up on mobile

I’m trying to change the GUI’s position for mobile players.

The GUI remains the same on mobile, as the script did nothing

I looked through the devforum copying the correct format for changing the position but I’m doing something wrong, I’m new at scripting so I’m not sure what I’d need to change the UDim2 thing to.

if game:GetService("UserInputService").TouchEnabled == true then
	script.Parent.Position.UDim2.new(0.5,0, 0.7, 0)

end

Here’s a screenshot of the error.

if game:GetService("UserInputService").TouchEnabled == true then
	script.Parent.Position = UDim2.new(0.5,0, 0.7, 0)
end