How to make a contextual menu

I need make a contextual menu when you make right click, how I do it

Consider using an extra layer, and displaying it upon right mouse click. You’ll probably need add events to to prevent mouse clicks or key presses being actioned by the main part of the game when the context menu is displayed.

1 Like