Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Widgets > API/Runtime/Slate/Widgets/Input > API/Runtime/Slate/Widgets/Input/SButton
- SWidget::OnMouseButtonDown()
- SButton::OnMouseButtonDown()
- SButtonCommandWidget::OnMouseButtonDown()
- SRichTextHyperlink::OnMouseButtonDown()
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SButton.h |
| Include | #include "Widgets/Input/SButton.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Input/SButton.cpp |
virtual FReply OnMouseButtonDown
&40;
const FGeometry & MyGeometry,
const FPointerEvent & MouseEvent
&41;
Remarks
MOUSE INPUT The system calls this method to notify the widget that a mouse button was pressed within it. This event is bubbled. Whether the event was handled along with possible requests for the system to take action.
Parameters
| Name | Description |
|---|---|
| MyGeometry | The Geometry of the widget receiving the event |
| MouseEvent | Information about the input event |