Navigation
API > API/Plugins > API/Plugins/ControlRig > API/Plugins/ControlRig/Rigs > API/Plugins/ControlRig/Rigs/URigHierarchyController > API/Plugins/ControlRig/Rigs/URigHierarchyController/RemoveElement
References
| Module | ControlRig |
| Header | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchyController.h |
| Include | #include "Rigs/RigHierarchyController.h" |
| Source | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Private/Rigs/RigHierarchyController.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;URigHierarchyController&41;
bool RemoveElement
&40;
FRigElementKey InElement,
bool bSetupUndo,
bool bPrintPythonCommand
&41;
Remarks
Removes an existing element from the hierarchy Returns true if successful.
Parameters
| Name | Description |
|---|---|
| InElement | The key of the element to remove |
| bSetupUndo | If set to true the stack will record the change for undo / redo |
| bPrintPythonCommand | If set to true a python command equivalent to this call will be printed out |