Discord
Login
Community
DARK THEME

how to find your screen size

how would i find out my screen size if i set it to free?

screen.width or screen.height

use screen.width and screen.height

heres a line of code you can use to find the ratio of the screen if its set to 16:9 ratio = 9*(min(screenData.size.x/16, screenData.size.y/9)/200)

it transforms the values of your screen for when things are zoomed in/out data = value*ratio

Post a reply

Progress

Status

Preview
Cancel
Post
Validate your e-mail address to participate in the community