# How to highlight an object with a rectangle?

**URL:** <https://forums.unrealengine.com/t/how-to-highlight-an-object-with-a-rectangle/649656>\
**Category:** UI\
**Tags:** unreal-engine, UE4, Blueprint, question\
**Created:** [September 15, 2022, 11:16pm UTC](https://forums.unrealengine.com/t/how-to-highlight-an-object-with-a-rectangle/649656 "2022-09-15T23:16:11Z")\
**Posts on this page:** 1\
**Showing post:** 16

<div class="post-metadata">

**Author:** ![ndalien1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ndalien1](https://forums.unrealengine.com/u/ndalien1)\
**Post date:** [November 3, 2022, 6:09am UTC](https://forums.unrealengine.com/t/how-to-highlight-an-object-with-a-rectangle/649656/16 "2022-11-03T06:09:55Z")

</div>

Hi, I made a new thread for this question. Can you check this link and give me some suggestions? Thank you!

> [@Disable component dislocation for a moving actor](https://forums.unrealengine.com/t/disable-component-dislocation-for-a-moving-actor/683059):
>
> Hi, I am writing a project of driving simulations. I attach box components to the cars to serve as “object detection boxes”. However, when cars make sudden brakes, there will be a dislocation of the box component from the car mesh. Some examples can be seen from the attached videos (red car to the right). Ideally, I want the box to be just lines staying still to the car mesh. I have tried to reset the location for the box component with event tick, but it didn’t make any difference. Please h…

---

_[View the full topic](https://forums.unrealengine.com/t/how-to-highlight-an-object-with-a-rectangle/649656)._
