Reputation: 1
I´m trying to cast to an actor inside a widget button so I can toggle the visibility of a specific part of the actor itself. The problem is that I don´t know what I have o put on the object node to make the cast work.
Upvotes: -1
Views: 9668
Reputation: 21
You can do "get all actors of class" before casting, select the actor you want "Cranio" then from the array square output from "get all actors from class" drag out a "Get (copy)" and connect its output with "object" in the "cast to Cranio".
Look at the image to visualize.
Upvotes: 1