How could I loop around actor to get static meshes?

What you looking for is Get Components by Class then just do equal on the static mesh for what you want