Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Components > API/Runtime/UMG/Components/UWidget
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Components/Widget.h |
| Include | #include "Components/Widget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/Components/Widget.cpp |
UFUNCTION (BlueprintCallable, Category="Widget")
bool HasMouseCaptureByUser
(
int32 UserIndex,
int32 PointerIndex
) const
Remarks
Checks to see if this widget is the current mouse captor True if this widget has captured the mouse with given user and pointer
Parameters
| Name | Description |
|---|---|
| User | index to check for capture |
| Optional | pointer index to check for capture |