# End Component Overlap happens when changing variables in Simulation mode

**URL:** <https://forums.unrealengine.com/t/end-component-overlap-happens-when-changing-variables-in-simulation-mode/479722>\
**Category:** Editor Scripting\
**Tags:** Variable, collider, overlap-actors, unreal-engine, simulation, question\
**Created:** [March 3, 2021, 8:34pm UTC](https://forums.unrealengine.com/t/end-component-overlap-happens-when-changing-variables-in-simulation-mode/479722 "2021-03-03T20:34:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![RealCoder](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@RealCoder](https://forums.unrealengine.com/u/RealCoder)\
**Post date:** [March 3, 2021, 8:34pm UTC](https://forums.unrealengine.com/t/end-component-overlap-happens-when-changing-variables-in-simulation-mode/479722/1 "2021-03-03T20:34:07Z")

</div>

Hi!

I’ve found very strange behavior of End Component Overlap event. Steps to reproduce:

1. Create empty project.
2. Create a simple blueprint with a cube mesh and a sphere collider.
3. Add print functions to begin overlap and end overlap for this sphere.
4. Add a few public variables.
5. Place BPs so the sphere colliders intersect.
6. Launch via Simulation Mode.
7. Change variables in one of the colliding actors.

Expected behavior: nothing happens. Actual behaviour: End component overlap event happens.

Attaching an archive with video and test project.Archive
