mouse over function call in DirectButton

I’m just wondering if there is a way to call a function on mouse-over of the directbutton- (I’m thinking it would be good in my program to have a pop-up window with more information about the button)

This would need to be a different function than the one called when clicking the button.

Yes.

button.bind(DGG.ENTER, myFunction)
button.bind(DGG.EXIT, myOtherFunction)

David

1 Like