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.
2 Likes
No I mean something like this, moving the element from one DOM parent to another:
oh ok