# C+ Override Actor Bounds

**URL:** <https://forums.unrealengine.com/t/c-override-actor-bounds/1808336>\
**Category:** C++\
**Tags:** unreal-engine, bounds, question, CPP\
**Created:** [April 17, 2024, 4:59pm UTC](https://forums.unrealengine.com/t/c-override-actor-bounds/1808336 "2024-04-17T16:59:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![fclushio](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/fclushio/32/924059_2.png) [@fclushio](https://forums.unrealengine.com/u/fclushio)\
**Post date:** [April 17, 2024, 4:59pm UTC](https://forums.unrealengine.com/t/c-override-actor-bounds/1808336/1 "2024-04-17T16:59:32Z")

</div>

I want to override Actor Bounds that could be observed for example via Editor as a blue box.  
I need to extend/shrink/change center of particular object.

 ![UnrealEditor_V9Q7Ecxh3k](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/7/7/c77fce9d6cb07f30b0443241caabc2e02097729a.jpeg)

I’ve tried overriding

```auto
void AActor::GetActorBounds(bool bOnlyCollidingComponents, FVector& Origin, FVector& BoxExtent, bool bIncludeFromChildActors) const;

```

But that had no effect
