Line Traces in the Construction Script

I’m trying to create an array or map of blueprints that are touching each other, and I’m not sure how best to go about it. I’m trying line traces right now in the construction script, but they don’t act like they do in the live game. If I try to view them, I get outdated locations that never go away in the editor, and print string doesn’t work. Do line traces work in the construction script? What would be the best way to get a group of objects to recognize each other?

Line traces need to be on begin play.

The function internally requires GetWorld() or an object context that is placed in the world.

So it will only be active after the blueprint is spawned in the world and not sooner.