+1 vote

Working on a plugin right now.
I'm try to show special information when you hover an item of a PopupMenu (I'm using a MenuButton). Unfortunately I cannot find any way to find out what item is hovered.

Any ideas on how I could do it? Thanks in advance!

Godot version 3.3.2
in Engine by (864 points)

1 Answer

+1 vote
Best answer

I did some digging into the source code and found out that the popups get_current_index() function acutally will return the currently hovered idx. Very unfortunate that exactly that function is undocumented....

WHY!? ;)

Hope this will help someone in the future!

by (864 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.