Is there a code to have a button to change screens?

I remember the code is somewhere i just don’t remember where

Have you looked at these example?

https://developer.playcanvas.com/en/tutorials/?tags=scenes

@Gavin_Durbin
have a look at these examples
https://playcanvas.github.io/#/user-interface/button-basic

1 Like

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?

2 Likes

Yes, but they wont change the scene

how about the one called Changing scenes | Learn PlayCanvas ?

3 Likes

Here is my example of a Scene Manager if you like: PlayCanvas 3D HTML5 Game Engine