# Duplicate an actor in the scene with a blueprint, in the construction script.

**URL:** <https://forums.unrealengine.com/t/duplicate-an-actor-in-the-scene-with-a-blueprint-in-the-construction-script/1918557>\
**Category:** Blueprint\
**Tags:** unreal-engine, question\
**Created:** [June 27, 2024, 1:11pm UTC](https://forums.unrealengine.com/t/duplicate-an-actor-in-the-scene-with-a-blueprint-in-the-construction-script/1918557 "2024-06-27T13:11:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![3dRaven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/3draven/32/906552_2.png) [@3dRaven](https://forums.unrealengine.com/u/3dRaven)\
**Post date:** [June 27, 2024, 7:38pm UTC](https://forums.unrealengine.com/t/duplicate-an-actor-in-the-scene-with-a-blueprint-in-the-construction-script/1918557/2 "2024-06-27T19:38:26Z")

</div>

> [@GetActorBounds affected by rotation](https://forums.unrealengine.com/t/getactorbounds-affected-by-rotation/338940/9):
>
> I know it is old, but in case someone needs the answer: void UYourClass::GetComponentOrientedBoundingBox(USceneComponent\* Component, FVector& Origin, FVector& Extent) { // Calculate the right world origin FVector ComponentExtent; float ComponentRadius; UKismetSystemLibrary::GetComponentBounds(Component, Origin, ComponentExtent, ComponentRadius); // Calculate the right extent auto Box = Component-\>GetOwner()-\>CalculateComponentsBoundingBoxInLocalSpace(); Extent = Box.GetExtent(); }

If pure blueprint try

> [@Oriented bounding box from GetLocalBounds](https://forums.unrealengine.com/t/oriented-bounding-box-from-getlocalbounds/241396/2):
>
> Figured out the box was off-center. Also figured out you can get the mesh from the meshcomponent and via that get to a bounds object. Came up with this in the meanwhile:

---

_[View the full topic](https://forums.unrealengine.com/t/duplicate-an-actor-in-the-scene-with-a-blueprint-in-the-construction-script/1918557)._
