I can't make a material for my custom health bar. Who to convert X-1 to a Float?

I’m in Unreal engine 5 and I watch a tutorial for make a custom health bar but I get a error. Why? And how to fix it. Here is my blueprint:

Thanks !!!

That’s from the days when the texture sample node only had alpha as the fourth pin, now you can just use the third pin

347869-screenshot-2.jpg

EDIT: Wow, I’ll get it right soon. Use the 5th pin :slight_smile: