How do my ui elements automatically full screen

How do my ui elements automatically full on different screens

You will need to change the anchors on the elements as described here: https://developer.playcanvas.com/en/user-manual/user-interface/elements/

The buttons are the top would be anchored to corners and the elements you want to stretch would be a split anchor that is anchored to each edge.

Example here: https://playcanvas.com/editor/scene/888803

1 Like