While making a setting’s menu I made it so that you could change the options using checkboxes and sliders, but when I change the scene they still appear. The script that may be affecting this are: Slider, Checkbox, and all the settings scripts.
The reason I recommended the solution below is also due to resolution issues.
The method of directly adding to the HTML DOM requires a process of calculating the position based on the PlayCanvas UI (outputting at the desired location). Still, it may slightly deviate depending on the device.
However, if you structure it with PlayCanvas UI, it could simplify the cumbersome process.