not understanding highlighted slot

1.80K viewsCSS Questions
0

hi, i have an encoder that scroll through tracks and one that scroll through scene, so I can highlight any clip, I like to be able to create a clip if that clip slot is empty or launch the clip if there is a clip in that slot.
I tried that:
button 81 was pressed as listener
condition1:
self.song().view.selected_track.clip_slots[0].has_clip == True
action1
self.song().view.highlighted_clip_slot.fire(4, 1)

condition 2
self.song().view.highlighted_clip_slot.has_clip == False
action 2
self.song().view.highlighted_clip_slot.fire(4.0, 1)

but with this it always act on the first clip of the first track on first scene.
do you know what I m missing?

admin Changed status to publish
Attached Files:
0

Oh, I was not aware of that..
Good thing you found the solution!

admin Changed status to publish
Attached Files:
You are viewing 1 out of 4 answers, click here to view all answers.