How can I find out when a DButton has the cursor over it?

Just want to know, since I couldn’t find anything on the wiki about it.

[editline]20th February 2016[/editline]

Nevermind, I found it.