How can I get another actor component variable

Hi,guys~

I usually use "get all atcor of class " to get variable from another Bp .

But actor component can not use that node .

How can I do ~

The best way to get the other actors are not through using “get all of”. If you can store a reference to it during compile time or if you can get it through hitboxes and line traces you save a lot.

No matter how you get the reference, once you get the reference to the PARENT blueprint you can cast it to the correct type and then simply write "get ". Then you have to ask for the child actor and finally cast this actor to your class.

HTH