# Simulation freezing when using "check for closest object"-smart component.

**URL:** https://tech-community.robotics.abb.com/t/simulation-freezing-when-using-check-for-closest-object-smart-component/11429
**Category:** RobotStudio
**Created:** [May 8, 2024, 7:32am UTC](https://tech-community.robotics.abb.com/t/simulation-freezing-when-using-check-for-closest-object-smart-component/11429 "2024-05-08T07:32:15Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![StudentHerman](https://avatars.discourse-cdn.com/v4/letter/s/ec9cab/32.png) [@StudentHerman](https://tech-community.robotics.abb.com/u/StudentHerman)
#### Post date: [May 8, 2024, 7:32am UTC](https://tech-community.robotics.abb.com/t/simulation-freezing-when-using-check-for-closest-object-smart-component/11429/1 "2024-05-08T07:32:15Z")

</div>

Currently having issues with the “check for closest object”-smart component. The simulation runs fine and smootly except for when the smart-component runs. The simuation-time freezes completely, but starts running smootly again after checking for the closest object. This problem just started out of nowhere, it have been working perfectly before. Any one know a solution for this?
