Change canvas position

Hi. By default, the location of the canvas element is the body tag. Can this be changed? By manually setting the location id

Hi @sergey_ch,

For a PlayCanvas editor based project I don’t think you can. You could potentially move the canvas (reparent it) using JS at a later point.

Normally you will have to patch the PlayCanvas loader, specifically at the point where the canvas element is created. There you can have control of where it’s added in the DOM.


@sergey_ch did you mean change position of (“playcanvas”) logo at loading screen?

No I mean something like this, moving the element from one DOM parent to another:

oh ok