dynamically adding more items to a sprite sheet javascript code example Example: how to make a var and sprite in javascript var name = createSprite(x,y,width,height);