ISuperK
(ISuperK)
December 15, 2020, 12:04am
1
Hello I was hoping someone can show me an easier way to do this
Im currently trying to reposition the Chat Frame to the Bottom right corner the method below is what i’m currently using
game:GetService("StarterGui"):SetCore('ChatWindowPosition', UDim2.new())
Altho this method works it does not position it properly for Mobile users as it tends to place it off screen while using mobile devices. Is there another option to use so it still works for both Mobile and PC so that it is perfectly scaled on both devices
C_Sharper
(Sharpie)
December 15, 2020, 12:27am
2
If I’m not mistaken,
local windowSize = game.StarterGui:GetCore("ChatWindowSize")
local newWindowPosition = UDim2.new(1, 0, 1, 0) - windowSize
game.StarterGui:SetCore("ChatWindowPosition", newWindowPosition)
2 Likes
ISuperK
(ISuperK)
December 15, 2020, 12:28am
3
Ill try it out and let you know Thanks!
1 Like
ISuperK
(ISuperK)
December 15, 2020, 12:29am
4
Thanks for the support that has SOLVED the issue much appreciated
1 Like