[SOLVED] Load a new scene

I have a created a “onclick” button with html. When i click on it, i want to load a different scene.
How can i do this?

Are you asking how to load a new scene or how to execute canvas code from html button?

how to execute canvas code from html button

try to follow these tutorials. They should help you:


Sorry the link wasn’t working. I fixed it.

1 Like

I would like to ask also, when i load the new scene i want the button to disappear.Is there any way to do this ?


you have to remove the dom node of the button, or set a css style like display: none