I remember the code is somewhere i just don’t remember where
Have you looked at these example?
have a look at these examples
Is there a way to add a button to the UI so when pressed it will change scenes? I would need this for a menu
have you seen the responses above?
Yes, but they wont change the scene
how about the one called Changing scenes | Learn PlayCanvas ?
Here is my example of a Scene Manager if you like: PlayCanvas 3D HTML5 Game Engine