Creating a drop down menu


I am trying to create a drop down menu using the button in playcanvas. Is there a way possible to do that. Or should I just try to change the y or z component of the button to make it look like it changed or something.

You can check out this PlayCanvas Tutorial and use the scripts provided for an HTML/CSS drop down menu:

@kindy77 is there any way with JS ? or we don’t have a choice but to go with HTML/CSS ?
what if I want to create UI in playcanvas and not with CSS?

I created a drop down menu by putting the element groups in place when a certain button was clicked and hiding the element groups if the button was clicked again

This may be a little late but i have a main menu tutorial but it may or may not help here it is: