Returns the orientation of the slider

Signature:

orientation = Slider:GetOrientation()

Returns:

  • orientation - Token describing the orientation and direction of the slider (string)
    • HORIZONTAL - Slider thumb moves from left to right as the slider's value increases
    • VERTICAL - Slider thumb moves from top to bottom as the slider's value increases