add sprite name to variable