Disabled Button Hover Event

Is it possible to use hover event when button is disabled? I make some help window for buttons but it doesn’t pop up when button is disabled. Does anyone know?

A workaround for this would be to wrap your Button in a Border widget. Set it’s padding to 0, and it’s Brush Color alpha to be 0.

You could then bind a function to the border’s OnMouseMove event, or make the border variable and use an IsHovered node, and check that on Tick, or somewhere else.

OnMouseMove will fire constantly while the cursor is inside the border, but you could use a DoOnce node and a reset maybe to mimic how the button’s hover event worked.

Yea I did that now, thanks. I thought there was easier way to do it.

A bit late, but I found an easier method. Just wrap your button with another button. Set all style states to be drawn as none, no padding… etc so the parent button is totally invisible and covers the same size as your disabled button. You can then simply add a hovered and unhovered event to the parent button and link it to the same help window events than your main button. These will only be registered when you button is disabled so there shouldn’t even be any double fire.

Hope that helps someone