Get All Variables node?

Let’s say I have several actors in the world. Each actor has some variables in it, whose names and types I don’t know.
How can I get all the names of the variables that the actors in the world have, so that I can later modify it depending on the name?

Blueprint does not initially have the ability to interact with variables simply by name, but using C++ this feature can be added.

But maybe you should try using Blueprint Interface for your task.