Navigation
API > API/Runtime > API/Runtime/SlateCore > API/Runtime/SlateCore/SWidget
Description
After OnCursorQuery has specified a cursor type the system asks each widget under the mouse to map that cursor to a widget. This event is bubbled.
| Name | OnMapCursor |
| Type | function |
| Header File | /Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h |
| Include Path | #include "Widgets/SWidget.h" |
| Source | /Engine/Source/Runtime/SlateCore/Private/Widgets/SWidget.cpp |
virtual TOptional < TSharedRef < SWidget > > OnMapCursor
(
const FCursorReply & CursorReply
) const
TOptional