The positionn of a panel describes where the top left pixel is. One way to do it is changing the position according to the scale: If your healthbar is 100 pixels high at max but only filled to 50 right now you have to move the panel downwards by the remaining 50 pixels.


POTATO-MAN saves the day! - Random