Compilation error in Widget blueprint function

I’m new to blueprint scripting and I’m unsure of what I am doing incorrectly here.

It’s about the function up there, open it and post a screenshot.


Yeah, this is doing nothing, the return node was deleted and no brush is being sent. Drag a wire from the blue SlateBrush pin onto the return node - it will create a correct return type automatically.

I’ve done that, I’m still getting the same error.

Works fine on my end. Unbind this function from the ArrowImage, delete it and do it again then.

Thank you Everynone, I understand the problem now, it was supposed to return a slatebrush object.

Glad to hear you have it working!