How do I share variables between two different actor components of different actors?

I want to access variables from one actor’s component to another can someone Please guide me

How the actors become aware of each other will vary widely depending on what you are doing. But getting variables is just a matter of making Get() functions for component and variables.


well, you can use a extern variable , define the variable in one actor and in the other declare extern with the same name.