DspGetSlider
- Last UpdatedJul 18, 2023
- 1 minute read
Gets the current position (value) of a slider at an AN. You can call this function in the slider event to find the new position of the slider.
Note: This function was designed to only be used on Cicode objects, or the animation point object from the version 3.xx/4.xx toolbox.
Syntax
DspGetSlider(nAN)
nAN:
The animation-point number.
Return Value
The value of the slider from 0 to 32000. If no animation exists at the AN, -1 is returned.
Related Functions
Example
// Get the position of the slider at AN 30
nPos = DspGetSlider(30);