SWidget::SetCursor

Set the cursor that should appear when this widget is hovered

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h

Include

#include "Widgets/SWidget.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp

Syntax

void SetCursor
(
    const TAttribute< TOptional< EMouseCursor::Type > > & InCursor
)

Remarks

Set the cursor that should appear when this widget is hovered

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss