How do i Add a Custom Right Click Menu

I want to add a Custom Menu for when a User Right Click
(for Context I am Making a Game And i want to Remove the drop-down Menu I have Set Up ( i am using it as a Debug menu) and use a Right Click menu as the game’s Menu I am Open to using Anything
just be Clear if you link a Guide please let it be Recent and have it refer to Electron version 10.1.2 as well as it being Detailed but simple

Thanks in Advance