Is there any function which fires when the screen resolution changes?
I had used mouse.ViewSizeX and mouse.ViewSizeY but I think a better way must exist?
Is there any function which fires when the screen resolution changes?
I had used mouse.ViewSizeX and mouse.ViewSizeY but I think a better way must exist?
This discussion is preserved as it was. New answers, comments, and votes are closed.
2 comments
There's RunService.RenderStepped, which fires just before every frame. Heartbeat is similar to RenderStepped, only it runs after each frame. I don't know if you're looking for these ._.
I would prefer if it runs every time the resolution changes instead of firing every frame