# This function expects a value of type widget\_message-\>void, but this argument is an incompatible value of type void.

**URL:** <https://forums.unrealengine.com/t/this-function-expects-a-value-of-type-widget-message-void-but-this-argument-is-an-incompatible-value-of-type-void/1674270>\
**Category:** Verse\
**Tags:** unreal-editor-for-fortnite, fortnite-creative, question, fortnite\
**Created:** [February 8, 2024, 2:43pm UTC](https://forums.unrealengine.com/t/this-function-expects-a-value-of-type-widget-message-void-but-this-argument-is-an-incompatible-value-of-type-void/1674270 "2024-02-08T14:43:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![frenzyisegg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@frenzyisegg](https://forums.unrealengine.com/u/frenzyisegg)\
**Post date:** [February 8, 2024, 2:43pm UTC](https://forums.unrealengine.com/t/this-function-expects-a-value-of-type-widget-message-void-but-this-argument-is-an-incompatible-value-of-type-void/1674270/1 "2024-02-08T14:43:08Z")

</div>

Trying to make a health slider but can’t manage to update the health. When I try to call UpdateHealth or UpdateShield I get this error:

This function expects a value of type widget\_message-\>void, but this argument is an incompatible value of type void.

 ![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/5/9/959f087bad4704c62fb1588ec459134439d1edd9.png)

---

<div class="post-metadata">

**Author:** ![JamieDeGamie](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@JamieDeGamie](https://forums.unrealengine.com/u/JamieDeGamie)\
**Post date:** [February 8, 2024, 3:33pm UTC](https://forums.unrealengine.com/t/this-function-expects-a-value-of-type-widget-message-void-but-this-argument-is-an-incompatible-value-of-type-void/1674270/2 "2024-02-08T15:33:01Z")

</div>

You subscribe to events with only the name and without the parentheses.  
So Subscribe(OnHealthChanged)
