Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWidget
Description
Set the hover state. Once set, the attribute that the ownership and SWidget code will not update the attribute value. You can return the control to the SWidget code by setting an empty TAttribute.
| Name | SetHover |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
void SetHover
(
TAttribute < bool > InHovered
)