💬

Community answer

Collected from the ACE community Discord archive around 2022-11-01. It may be informal or outdated — anyone can edit this page to improve it. Original discussion

Getting the render target/screen resolution

🖼️ RenderingUpdated 2 days ago•0 views
render.getResolution() returns the width and height of the screen - use it to compute e.g. a box at 50% of screen dimensions.

How to get the dimensions of the screen currently being rendered to

render.getResolution() returns the width and height of the screen - use it to compute e.g. a box at 50% of screen dimensions.

Was this article helpful?

See More

Discussion(0)

No comments yet. Be the first to ask a question!

Have a question? Sign in to join the discussion.