Infinite loop and static mesh component replacement

Here is a WEBM of how it works.
https://imgur.com/pKkJpSQ

I can reliably cause an infinite loop error with the On Component End Overlap being the cause. Or so the log Says.

But I’ve been trying to get it so the static mesh gets replaced with a corner piece when applicable.

It’s because the stationary pieces are running the code as well as the piece you’re moving around. Maybe only run the code for the piece you’re moving…?