Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/Kismet2 > API/Editor/UnrealEd/Kismet2/FBlueprintEditorUtils
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/Kismet2/BlueprintEditorUtils.h |
| Include | #include "Kismet2/BlueprintEditorUtils.h" |
| Source | /Engine/Source/Editor/UnrealEd/Private/Kismet2/BlueprintEditorUtils.cpp |
static FName DuplicateVariable
&40;
UBlueprint &42; InBlueprint,
const UStruct &42; InScope,
FName InVariableToDuplicate
&41;
Remarks
Duplicates a variable given its name and Blueprint Returns the name of the new variable or NAME_None if failed to duplicate
Parameters
| Name | Description |
|---|---|
| InBlueprint | The Blueprint the variable can be found in Local variable's scope |
| InVariableToDuplicate | Variable name to be found and duplicated |