Fire and Stop a Clip or scene with the same button

259 viewsCSS Community Scriptscss script
1

Im trying to fire (play) a highlighted clip or scene and be able to stop it using the same button. using a MF Twister

I can get it to fire using this reaction

Listener>button XX was pressed

Action block 1

Condition>Clip is triggered>(bool) is equal to false (highlighted clip)

Action> clip-Fire

Action Block 2

Condition>Clip is triggered>(bool) is equal to True (highlighted clip)

Action>Clip-stop (highlighted clip)

It plays but won’t stop

Scenes are the same

Florin Wach Answered question February 20, 2025
0

I think “clip is triggered” means that you clicked the play button of the clip with the mouse. “clip is playing” might be what you need.

Also, add an Action to Action Block 1 to “Exit the Reaction” after the clip is fired. You can find it in “Script” section of the Action’s menu. If you don’t do this then Action Block 2 will immediately stop the clip that you just fired up.

Glenn Verhaeghe Answered question February 14, 2025
0

I also didn‘t get it going with the LaunchControl, too.

The LED-Feedback is either sorted to the Launch-Clip section OR to the playing-clip-section.  Would be nice to have the choice, to which of the ones, a specific LED feedback should be registered to.

Florin Wach Answered question February 20, 2025