Change Playback Mode SCRIPT

Moho allows users to write new tools and plugins. Discuss scripting ideas and problems here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
Shizukuishi
Posts: 77
Joined: Sun Dec 02, 2018 6:56 am
Location: Italy

Change Playback Mode SCRIPT

Post by Shizukuishi »

https://mohoscripts.com/script/mp_Playb ... ayerScript

Toggle from loop or play once

Instructions:

Create a vector layer and embed the script.

The name of the layer will autoupdate and the visibilty icon will control the playback method.

-- Visible => 'Playback [▶Once]' : stops at PlayEnd/ProjEnd*

-- Hidden => 'Playback [▶Loop]' : does nothing (normal looping)

*Note that it doesn't actually stop the playhead but only avoid looping. To correctly stop you still need to hit spacebar or move the playhead from the end frame.
Even with the head in the clouds You can touch the ground

https://marisolpetretto.myportfolio.com/
https://www.linkedin.com/in/marisolpetretto/
Post Reply