I'm using Unreal engine for a personal project, but am running into a problem. I want it so that when you click the button in the center of the screen, the brush from the child image changes. I'd use a "select" node, but I've got thousands of images, so I'd rather feed the code a file location since that would be cleaner and less time consuming. I'm not a complete newby to Unreal, I know how to use visual coding to get the desired file location and turn it into a string. But I haven't got a clue of how to use that string to set the texture of an image.
If there are any questions, feel free to ask.
The Get Asset by Object Path node does exactly what you need.
Have a look at this Reddit thread for an example of using this node to retrieve a Texture2D object.