Hi, Sorry I’m new and trying to learn, but I’ve been searching for a solution for two days and haven’t found one. My goal Is a ui button I can press to toggle the glasses on/off on my meta human.
The only thing I think is preventing it from working is I need to plug an object into the ‘cast to’ node. But I have no idea what to plug in. Any help would be appreciated. Sorry if its a really basic mistake I’m making.
Hey there @TheAnimatier! Welcome to the community! So the thing you need to do is get a reference to the actor you’re trying to edit, then you can do the cast. So if you’re possessing this guy the top one will work. If you aren’t possessing this guy, (and he’s the ONLY one of his class in scene), the second one will work.
There’s many ways to do this but this is probably the simplest if you aren’t needing to work with multiple actor types and abstracting etc.
Let me know if you have any questions!
1 Like
The bottom solution works for me, thank you! (My Character isn’t a Player Pawn)



