Bind Property or Function to ProgressBar

the error i get is something like this: error C2664: ‘SProgressBar::FArguments::WidgetArgsType &SProgressBar::FArguments::Percent_UObject(UserClass ,TOptional (__cdecl ALegendOfTroelsMegaTCharacter:: )(void) const)’ : cannot convert argument 2 from ‘TOptional (__cdecl ALegendOfTroelsMegaTCharacter::* )(void)’ to ‘TOptional (__cdecl ALegendOfTroelsMegaTCharacter::* )(void) const’

I have tried to mess a little arround with the return value of the function to acomodate the error but here it is…

`TOptional GetPercentHealth(){ return CurrentHealth / MaxHealth; }
private:
UPROPERTY(EditAnywhere, Category = Stats)
float MaxHealth;

UPROPERTY(EditAnywhere, Category = Stats)
	float CurrentHealth;`

and this is from the Character.h file