You need to create a "base" manually or using something like 9-slice to auto-scale the image, then, in the program, you draw the red fill partially, to fit how much the bar is empty.With Gamemaker, use draw_sprite_part().
Thank you so much for answering my question! Very helpful!