How to get meshes names by clicking?

Try again to explain, I am unsure what you want to do.

There are nodes: get all actors of class, and get all actors with interfaces.
You can also get all actors of class (static mesh) and check their tags, but for that you need to painfully fill up all tags and do not misspell.
But all that is guessing since i fail to get what you need.

You could also create scene component, then add it to meshes you want to interact later. All what that component should do is to get parent reference, and then add it to some array in for eg game state blueprint. This way you could get list of all actors you want.