So, I have this one script that gets the mouse X however I need it to get the X in Scale instead of pixels. How is it possible to change that up?
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
function moyse()
local position = mouse.X
print(position)
return position
end
mouse.Move:Connect(moyse)

1 comment
Thank you so much, I had complety forgotten about the ViewportSize propertie!