Sergio Nani
Sergio Nani

Reputation: 1

Can´t cast to an actor - UE4 BP

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.

BP inside the widget

Upvotes: -1

Views: 9668

Answers (1)

Ali107
Ali107

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.

enter image description here

Upvotes: 1

Related Questions