Navigation
API > API/Runtime > API/Runtime/UMG > API/Runtime/UMG/Blueprint > API/Runtime/UMG/Blueprint/UUserWidget
References
| Module | UMG |
| Header | /Engine/Source/Runtime/UMG/Public/Blueprint/UserWidget.h |
| Include | #include "Blueprint/UserWidget.h" |
| Source | /Engine/Source/Runtime/UMG/Private/UserWidget.cpp |
void SetNumLoopsToPlay
&40;
const UWidgetAnimation &42; InAnimation,
int32 NumLoopsToPlay
&41;
Remarks
Changes the number of loops to play given a playing animation
Parameters
| Name | Description |
|---|---|
| InAnimation | The animation that is already playing |
| NumLoopsToPlay | The number of loops to play. (0 to loop indefinitely) |