Im making a plugin to convert offset into scale, and I need to know the size of the screen of the person's device so I can convert it properly. Is there a service or method which I can use to do this? the size of this: https://media.discordapp.net/attachments/510573382623035408/703999272642805830/unknown.png?width=870&height=560
✓ ANSWER ACCEPTED
How would I get the size of the studio window with a script?
1 answer
✓ Accepted answer
CurrentCamera.ViewportSize
It might be what you are looking for.
This discussion is preserved as it was. New answers, comments, and votes are closed.
