ImageButton.Active = False Not Working

Expected Behavior:

ImageButton.Active = false means the the button will not change color on hover or click. It will not raise mouse events. It will not be selectable when playing with a game pad.

Actual Behavior:

It does all those things.

Already in progress

2 Likes

:dolphin:

1 Like

The correct behavior of Active is supposed to be that, if true, it blocks mouse events from reaching 3D space. The only real issue is that ImageButtons and TextButtons always seem to be active regardless. Everyone thinks it doesn’t work at all due to a combination of hearsay and Active never being documented properly.

The behavior you’re describing would be more suited for a “Disabled” property. There’s already an AutoButtonColor property to solve your coloring needs.

It would be cool if the property were called “Enabled”

That is the default name for this property across a wide range of GUI frameworks.

1 Like