Text commit as a trigger of an object texture change. How?

Hi all, Im super new to here, I need some help.
So i have 2 actors at the moment:

#1 blueprint(Actor) that has UI widget, and the widget has text commit function when hitting Enter
#2 blueprint(Also Actor) that has a function to change object’s texture by hitting Enter key.

Now I want to combine these 2 actors to have my txt commit as a trigger of the object texture change basically like when I type something, hit enter, changes the texture.

What would be the way to do this?

I answered something very similar the other day. You can make one blueprint, containing a mesh, that spawns a widget, which sends a message back to the actor

If you want to carry on doing it with separate objects, then in the widget, you can just do a ‘get actor of class’ to find your BP#2 and tell it to change.

Hi there @NE-Hayden, hope you’re well!

This topic has been moved from International to Programming & Scripting: Blueprint.

When posting, please review the categories to ensure your topic is posted in the most relevant space.

Thanks and happy developing!