Hey I am looking to make a simple health bar. Originally I thought about making 10 if statements for each one point of 10 health and tying each of these statements to a picture. I have realized this is kind of inefficient. Is there any way for me to tie the value of whatever the health is currently to each of the 10 pictures without 10 if statements. I was thinking about some sort of getvalue method and the number returned will find the pictures 1-10 and whatever the number is grab the picture corresponding to this value.

