Hello friends,   I would need some help in finding a coding approach that would allow my to create a mask for a sprite using a complex shaped image.   I am trying to create a dynamic energy gauge using my player's sprite silhouette like so:   The strategy I imagined for achieving this result was to draw my player's sprite, then overlay it with a green rectangle sprite that I could move (or scale) according to the energy level and then mask this rectangle using the shape of my player sprite as t