Setting Canvas Size in Preview

Change your game UI canvas size in UI Editor Preview to visualize how your canvas might look at different screen resolutions and to see how the interactive elements change state. Changing your canvas size in Preview does not affect the canvas size at which you are authoring the UI canvas-that is controlled in the UI Editor .

Setting your canvas size in Preview is useful when designing games that run on devices that have multiple resolutions. You can see at different resolutions how an element’s size and position changes based on the settings of its Transform2D properties, such as anchors, offsets, and the Scale to Device settings. For more information on the Transform2D properties, see Transform2D Component .

The Canvas scale in the toolbar shows the scale at which the canvas is displayed. If the Preview canvas size selected is larger than the viewport size, the canvas you are previewing is drawn at a reduced scale.

Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see

The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.