Vizard 8 » Command Index » Vizard objects » node3d » <node3d:GUI:slider>.dragging
8.0

<node3d:GUI:slider>.dragging

This action will return whether the slider is currently being dragged

<node3d:GUI:slider>.dragging()  

Remarks

This action will return whether the user is currently dragging the slider.

Return Value

1 if the slider is being dragged, 0 if it is not being dragged

Example

slider = viz.addSlider()
if slider.dragging():
    print('The slider is being dragged')

See also

<node3d:GUI:slider>.get
<node3d:GUI:slider>.set