anchor: SpriteBatch:setLayer
  Changes a sprite previously added with add or addLayer, in a batch created with an Array Texture.
  SpriteBatch:setLayer( spriteindex, layerindex, x, y, r, sx, sy, ox, oy, kx, ky )
  spriteindex number The index of the existing sprite to replace.
  layerindex number The index of the layer in the Array Texture to use for this sprite.
  x (0) number The position to draw the sprite (x-axis).
  y (0) number The position to draw the sprite (y-axis).
  r (0) number Orientation (radians).
  sx (1) number Scale factor (x-axis).
  sy (sx) number Scale factor (y-axis).
  ox (0) number Origin offset (x-axis).
  oy (0) number Origin offset (y-axis).
  kx (0) number Shearing factor (x-axis).
  ky (0) number Shearing factor (y-axis).
  SpriteBatch:setLayer( spriteindex, layerindex, quad, x, y, r, sx, sy, ox, oy, kx, ky )
  spriteindex number The index of the existing sprite to replace.
  layerindex number The index of the layer to use for this sprite.
  quad Quad The subsection of the texture's layer to use when drawing the sprite.
  x (0) number The position to draw the sprite (x-axis).
  y (0) number The position to draw the sprite (y-axis).
  r (0) number Orientation (radians).
  sx (1) number Scale factor (x-axis).
  sy (sx) number Scale factor (y-axis).
  ox (0) number Origin offset (x-axis).
  oy (0) number Origin offset (y-axis).
  kx (0) number Shearing factor (x-axis).
  ky (0) number Shearing factor (y-axis).
  SpriteBatch:setLayer( spriteindex, layerindex, transform )
  spriteindex number The index of the existing sprite to replace.
  layerindex number The index of the layer to use for the sprite.
  transform Transform A transform object.
  SpriteBatch:setLayer( spriteindex, layerindex, quad, transform )
  spriteindex number The index of the existing sprite to replace.
  layerindex number The index of the layer to use for the sprite.
  quad Quad The subsection of the texture's layer to use when drawing the sprite.
  transform Transform A transform object.