hello guys!
well, i was trying to make a contextMenu. and everything was working fine till i had more than 15 items (contextMenu doesnt support) in the menu
since i needed to build my menu each time i click it, i used the onSelect function to build it, brolem was the same, once i push it inside, i could not remove him.
Right now, the only solution i can see is, when i invoke my function i need to clear all the contextmenu content and build it again without having to make a new contextmenu (tried that but was only working on the 2x right click)
its there a way to clean all my contextMenu array and make him again?
i was to be possble to, when i click, look for variables and contruct my menu.