Draw line

You can use a Quad class which creates a 2D rectangle and fill it with red color to represent the health percentage. You can attach the quad to a Node object and make it follow your monster’s location.