Cant rotate object while snapping (collision concept)

Hello, I’m trying to create inside my building system a snapping mechanic that right now is working ok with a collision boxes(this one inside building bp component).
at my player bp I’ve got a rotation mechanic which makes the object to rotate before placement.
the problem I accrue that if the building already in snapping mod it cant be rotate while in snapping mod.
How can I rotate the object while he in the snapping mod?

How the collision inside my wall bp

there interface that gets all the collision boxes

In Player Bp for rotate (there another one for rotate the other way around)

function that takes all the boxes array