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