Does anybody know the function that detects when a player resizes their screen?
COMMUNITY QUESTION
Detecting player window screen size change?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Where is your script?
my script changes the UIGridLayout sizes based on the players window size. But I use an infinite loop to detect the players window size, but I realized it would be way more efficient if there was a way to detect when a player changes their size so I am wondering if anybody knows
Nevermind, found it myself workspace.CurrentCamera:GetPropertyChangedSignal("ViewportSize"):Connect(function()