How can i control a vertical scrollbar form a panel in a container COMP with kinect?

my goal is to do a video galerry menu, with a vertical scroll to see all video options.

image of my exe, and my project

i’ve tried to control it via panel1 - panel execute DAT; but can´t make it work bc i think its receiving the data forn the container, not sending it.

im using a midi for testing instead of a kinect, but can grab its value (from 0 to1) and make a reference for my vertical scrollbar (activated through toggle) inside my container COMP. Im trying to activate the scrollbar when my midi’s slider is on, so the value will be [‘inside’] = 1, and referenced the value form the slider, same as the par. [scrollv’] in my panel container.

Hope this doubt its understandable.

You’re basically going to want to use Python reacting to changes from your kinect (you’ll have to do lots of smoothing or other finagling of data to make it look nice)

At its simplest it might look like using a chopexec watching the kinect channel and then in the onValueChange callback:

op(‘project1’).panel.scrollv = val

1 Like