How to detect static mesh (randomly spawned) at collision

Hello everyone,

This is my first post as I’m a real starter. I’me really need your kind help here
I have downloaded a simple game (geometry catcher) where shapes spawns randomly (circle, triangle, square and pentagon).

When shapes (overlap) with the white box they get destroyed. How can I tell the engine to detect each shape to be able to build how many each shape is collected rather than scoring one point each time a shape is collected.

Thanks in advance.

Here is how my final step looks. How to hook second pin to static mesh (sm_circle)