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 is that when creating Slider and Checkbox in PlayCanvas, a new node is added to the DOM rather than within the PlayCanvas internal structure.
When ever I leave the settings menu, the actual settings will save but the slider and check boxes will appear as if they refreshed. PlayCanvas 3D HTML5 Game Engine
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.