# Deleting Subobject From Actor Using Scripted Actions

**URL:** <https://forums.unrealengine.com/t/deleting-subobject-from-actor-using-scripted-actions/597766>\
**Category:** Blueprint\
**Tags:** unreal-engine, Blueprint\
**Created:** [July 5, 2022, 5:53pm UTC](https://forums.unrealengine.com/t/deleting-subobject-from-actor-using-scripted-actions/597766 "2022-07-05T17:53:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Supremative](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/supremative/32/906564_2.png) [@Supremative](https://forums.unrealengine.com/u/Supremative)\
**Post date:** [January 17, 2023, 6:45pm UTC](https://forums.unrealengine.com/t/deleting-subobject-from-actor-using-scripted-actions/597766/4 "2023-01-17T18:45:44Z")

</div>

I delete components in the following way:

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/d/1/0d12d81796ad063fe5cdf005151d27165443c759.png)

However, you will not be able to delete components in an instance if they were defined in a class. I’m checking this with CanReparent because it seems CanDelete is broken.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/4/5/e458bceb1b158886e61c64127b9811c633c2a0b6.png)

[My Products](https://www.unrealengine.com/marketplace/en-US/profile/Aleksandr+Sidorov)

---

_[View the full topic](https://forums.unrealengine.com/t/deleting-subobject-from-actor-using-scripted-actions/597766)._
