To allow our UI elements to pull data from our player variables, we need to revisit the HUD Widget Blueprint. Navigate to the FirstPersonExampleMap tab, go to the Content Browser panel, and open the HUD Widget Blueprint in the UI folder.
In order to get our UI to update with Player Stats, we will create a binding. Bindings give us the ability to tie Functions or properties of a Blueprint to a Widget. Whenever the property or Function is updated, that change is reflected in the Widget automatically. So, instead of manually updating both the player's health stats and our Widget every time the player takes damage (so that the health meter display changes), we can tie the meter to a player value: health. Then, only one value will need to be updated.