Removing/Disabling Canvas


#1

Is there anyway to disable/remove canvas?
Removing trait doesn’t work, and canvas can’t be hidden by changing canvas’s .json on run time


#2

Can you test on the ui_canvas example? If I remove the canvas trait there with canvas.remove() then it’s gone.

function onToggleMenu() {
	canvas.remove();
}

#3

Thanks, it works perfectly fine!