StatusBar:SetValue
Jump to navigation
Jump to search
Sets the current value of the status bar.
StatusBar:SetValue(value)
Arguments
- value
- number - The current progress of the status bar; must be between the statusbar's minimum and maximum values.
Details
- When
:SetValue()
is called the statusbar will crop and redraw the texture that is previous set with:SetStatusBarTexture()
, it is possible to use:SetTextureCoords
on a StatusBar Texture but due to the behavior of :SetValue the Texture Coords will be reset to texture size and then cropped by :SetValue