Menus

Is there a way to make it so that when you click a button on the UI, a menu appears? thanks.

Yes, have you made the button and the menu?

yes i have

Alright, how do you want the menu to appear? Also could you provide a link

I want the menu to appear around the player
http://flowlab.io/game/play/1397359

make a object in user interface and use alpha function in it.

@Mainfunctestalbois Wouldnt you still be able to click it tho? Since its just invisible

That is true, but I think it be better to move it off screen and the UI will keep it off screen and also separates it from the game objects. If you use it in the game world, then you probably want to spawn and delete.

If you use the UI, you can keep it off screen, I’ve made both examples Below.
Also I have an example that uses the similar math for UI objects and behaviors:
https://flowlab.io/game/play/1388657

If you use the game layer and spawns:
2020.04.15-16.32

If you use the UI Layer:
2020.04.15-16.30

2020.04.15-16.23