Navigation
API > API/Runtime > API/Runtime/UMG
Is an entity visible?
| Name | ESlateVisibility |
| Type | enum |
| Header File | /Engine/Source/Runtime/UMG/Public/Components/SlateWrapperTypes.h |
| Include Path | #include "Components/SlateWrapperTypes.h" |
Syntax
enum ESlateVisibility
{
Visible,
Collapsed,
Hidden,
HitTestInvisible,
SelfHitTestInvisible,
}
Values
| Name | Remarks |
|---|---|
| Visible | Visible and hit-testable (can interact with cursor). Default value. |
| Collapsed | Not visible and takes up no space in the layout (obviously not hit-testable). |
| Hidden | Not visible but occupies layout space (obviously not hit-testable). |
| HitTestInvisible | Visible but not hit-testable (cannot interact with cursor) and children in the hierarchy (if any) are also not hit-testable. |
| SelfHitTestInvisible | Visible but not hit-testable (cannot interact with cursor) and doesn't affect hit-testing on children (if any). |