Triggering Python from Actions in Mocha [Mocha Pro] @BorisFXco
Triggering Python from Actions in Mocha [Mocha Pro]  @BorisFXco
Uploaded October 2025 | Updated September 2026, 2 weeks ago
Did you know you can expand the functionality of Mocha with Python?

In this tutorial, Mocha Product Manager Martin Brennand takes you through the basics of capturing menu actions to trigger Python code.

Even if you don't know Python, you can easily follow along and see how Python action triggers help augment existing functionality in your workflow.

Download a free trial of Mocha Pro at borisfx.com : borisfx.com/products/mocha-pro

// K E Y P O I N T S //
⦁ Importing modules from the Mocha Python API
⦁ How to find names of menus and actions in the interface
⦁ Triggering and handling events
⦁ What to do with an action trigger

Learn more about Mocha Pro here: borisfx.com/products/mocha-pro

// D I S C O R D C H A N N E L //
borisfxdiscord.com

#tracking #VFX

/ / C H A P T E R L I S T / /
00:00 Intro
00:38 Viewing the Script Editor
01:09 Importing from the Mocha Python modules
01:36 Finding the File menu in code
03:03 Finding and listing the available actions in the File menu
04:56 Defining the action trigger
05:42 Creating a function to handle the action event
07:22 Registering the action trigger handler to Mocha
09:44 Practical applications for action triggers
11:32 Outro
Triggering Python from Actions in Mocha [Mocha Pro]Render and Replace #borisfx #crumplepop #audio #premiereproKeep your Geo in Place with Lock Points [Boris FX SynthEyes]Turbo Charge Skin Smoothing with Face ML [Boris FX]AI Tools for Wind & Traffic Noise in CrumplePop SoundApp [Boris FX]Colorize Gradient Showcase - #borisfx #optics #photoshopRealistic Motion Blur Without ND Filters  |  The AI Fix with Boris FXCelluloid Memories - Vintage Film Look [Preset Included]How RAW Editing Works in Boris FX OpticsPoint Tracking Gets Smarter in SilhouetteHow to bring your SynthEyes Matchmove into Nukes New USD-based 3D EnvironmentLens Flares matter! #borisfx #sapphire
Boris FX |

Triggering Python from Actions in Mocha [Mocha Pro]

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER