View Single Post
07/22/17, 07:09 AM   #1
Greenlander
Join Date: Jul 2017
Posts: 2
Highlight GUI elements when mouse over it

Hey there,

I recently started scripting my first addon snippets 2 days ago but still not familiar with all the possibilities offered by the API. I used to develop a lot on Multi Theft Auto in case anyone knows, which is using a lua API aswell (and I have to say the documentation is a pain in the arse for beginners compared to MTA's since you on mta wiki you had for every function and event an example on how it could be used + all arguments explained and so so ^^)

So I'm currently working on some interface and was creating some drop down buttons and I wanted to highlight the choices on the dropdown menu when hovering your mouse over it without clicking any of them. But I can't find the right solution for detecting which GUI element I'm pointing on.

Anyone here to help me with a neat solution?

Regards,
Green
  Reply With Quote