ESlateVisibility Descriptions

Here are the types:
https://docs.unrealengine.com/latest/INT/API/Runtime/UMG/Components/ESlateVisibility__Type/index.html

But what do they do? I use Hidden and Visible, as those are obvious, but it’s not clear what the others are specifically for and I can’t find a description for them yet.

Hi,

taken from Visibility.h file:

Visible - Default widget visibility - visible and can interactive with the cursor

Collapsed - Not visible and takes up no space in the layout; can never be clicked on because it takes up no space.

Hidden - Not visible, but occupies layout space. Not interactive for obvious reasons.

HitTestInvisible - Visible to the user, but only as art. The cursors hit tests will never see this widget.

SelfHitTestInvisible - Same as HitTestInvisible, but doesn’t apply to child widgets.

Cheers

1 Like

Ah of course… the most obvious place to look first, not the documentation :stuck_out_tongue: Perfect, thanks!

I know this is old, but they should seriously rename
HitTestInvisible to VisibleNoHitTest and SelfHitTestInvisible to SelfVisibleNoHitTest!!!