Sets the texture used for drawing the filled-in portion of the status bar. The texture image is stretched to fill the dimensions of the entire status bar, then cropped to show only a portion corresponding to the status bar's current value.


StatusBar:SetStatusBarTexture(texture [, "layer"]) or StatusBar:SetStatusBarTexture("filename" [, "layer"])


  • texture - Reference to an existing Texture object (texture)
  • filename - Path to a texture image file (string)
  • layer - Graphics layer in which the texture should be drawn; defaults to ARTWORK if not specified (string, layer)