Open topic with navigation
<node3d:GUI:slider>.get
This action will return the current state of the Slider
<node3d:GUI:slider>.get() |
|
Remarks
This action will return the current state of the Slider. The state is a number between 0 and 1. 0 means that the tick is all the way to the left or bottom. 1 means that the tick is all the way to the right or top.
Return Value
A number between 0 and 1
Example
slider = viz.addSlider()
pos = slider.get()
print('The tick position is',pos)
See also