widget variable is set to private

Hey guys, I am new to unreal and was following a online tutorial to make a health bar.
The thing is i checked the Is Variable box and make it a variable, but it is set to private and cannot be edit and I couldnt find an instance editable check box in the detail panel like blueprint.

Hello TungTingChen, and welcome to the community!

Usually, you would create a custom event to set value on your variables at runtime.
Right-click in your event graph, and type “custom”, choose “add custom event”. In the event properties, you can set an input value, and assign it to your variable by dragging the exec pin off the node.

Take a look at these:

Thank You so much!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.