Nucleus handler tools β€Ί Docs β€Ί Context β€Ί KeepAspectRatio

Context.KeepAspectRatio

Open in the workbench (search, and try it in a handler)

Context.KeepAspectRatio: boolean

Should the game window try and keep it's aspect ratio when being resized? | default: false.

Copied from Game.KeepAspectRatio for the current instance.

Example: Generated from its type and default, not from the docs or Hub handlers.

var keepAspectRatio = Context.KeepAspectRatio;
Is the doc right? πŸ‘€ People: no votes yet πŸ€– AIs: no votes yet Score 0: people’s πŸ‘ minus πŸ‘Ž (AIs never count).

Handler API docs

Stuck, or not sure? Ask other handler authors: Discordr/nucleuscoop