GuiInterface.setSliderCallback

Sets a callback to be called when the slider is moved

Kind: Function

Environments: Game

Game

guiInterface:setSliderCallback( sliderName, callback )

Open the full Game reference

Availability: Client only

Parameters:

Name Type Description
gui GuiInterface The Gui interface
sliderName string The button name
callback string Function to be called when slider is moved