# Moving a component added in BP to a c++ UPROPERTY 

**URL:** <https://forums.unrealengine.com/t/moving-a-component-added-in-bp-to-a-c-uproperty/2691026>\
**Category:** Platform & Builds\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [November 14, 2025, 10:30pm UTC](https://forums.unrealengine.com/t/moving-a-component-added-in-bp-to-a-c-uproperty/2691026 "2025-11-14T22:30:00Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![john.yatco](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@john.yatco](https://forums.unrealengine.com/u/john.yatco)\
**Post date:** [November 24, 2025, 9:07pm UTC](https://forums.unrealengine.com/t/moving-a-component-added-in-bp-to-a-c-uproperty/2691026/4 "2025-11-24T21:07:20Z")

</div>

Thank you for the additional clarity!

You would need to setup something to copy over the data from the old BP component to the c++ component due to the engine seeing it as a new component.

An example would be to copy the data of the old BP component on PostLoad of the new c++ component and once it’s copied you’d delete the extra BP component.

There is also this function; [UEngine::CopyPropertiesForUnrelatedObjects](https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Editor/UnrealEd/FBlueprintCompileReinstancer/CopyPropertiesFo-?application_version=5.7) that you can use to attempt to copy as many properties as possible from the old object to the new one.

For your convenience here’s some references for scripting related discussions

[Deleting Subobject From Actor Using Scripted Actions](https://forums.unrealengine.com/t/deleting-subobject-from-actor-using-scripted-actions/597766/4) - Using an editor utility to batch add and remove components from actors in a level using scripted actions and subobject data subsystem

[Add a component with Blueprint script in the editor](https://dev.epicgames.com/community/snippets/dV5/add-a-component-with-blueprint-script-in-the-editor) - An official example using [subobject data system](https://dev.epicgames.com/documentation/en-us/unreal-engine/API/Editor/SubobjectDataInterface/USubobjectDataSubsystem) where the same basic logic can be applied for deletion.

[Unreal 5.1 python edit blueprint components](https://forums.unrealengine.com/t/unreal-5-1-python-edit-blueprint-components/742732/2) - An example editing bp components with python

Please let me know if you have any questions!

Regards

---

_[View the full topic](https://forums.unrealengine.com/t/moving-a-component-added-in-bp-to-a-c-uproperty/2691026)._
