CompaToon
Trace: • All tasks • Modify existing scenes • Harmony actions • Animate actions

Animate actions

Actions available in the action table of Animate tasks (Assembly and Transform).

SubName List = list of pieces of layer names separated by commas (shadow,mask). Prof = depth inside clips, from 1 to 99.

Layers

Action Parameters Effect Example
Change Layer Type from name SubName List; newType; Prof Changes the type of the layers whose name contains one of the pieces shadow,mask → guide
Add prefix on layer SubName List; Prefix; Prof Adds a prefix to the layer names shadow → prefix X_
Lock layer SubName List; true/false; Prof Locks or unlocks layers (RegExp accepted) shadow,ma.*

Special Process

Global processing on the whole scene. Choose the process in the first parameter.

Process Parameters Effect
shadows2BW – Extracts shadows: colours with alpha become opaque white, the others opaque black.
hideShadows – Removes shadows: colours with alpha become fully transparent black.
setFillColor colour #RRGGBBAA Replaces the colours with this one. E.g. #FF000088 = half-transparent red.
setStrokeWidth width (default 1); scale type (default none) Changes the width of all strokes.
  • shadows2BW, hideShadows and setFillColor only process fills and brushes, not lines or gradients.
  • setStrokeWidth with a width of 0 removes the lines.

Scale types for setStrokeWidth:

Value The stroke width…
none stays constant, whatever the object's scale
normal follows the X and Y scale
horizontal follows the X scale only
vertical follows the Y scale only

Other actions

Action Parameters Effect
Break All Elements – Breaks apart all the elements of the scene (drawing groups). Can take several hours on a large scene.
VBS Command Script Windows Title; Command; Loop; Windows Exit Title Watches for a window to open and sends it keystrokes (see below).
Open Dialog Box Windows Title Opens a window in Animate, for example to trigger a VBS Command Script.

VBS Command Script details

  • Windows Title: name of the window to watch; the script triggers when it opens.
  • Command: keys to send, for example {ENTER} or {TAB}{TAB}{TAB}.
  • Loop: false = once; true = keeps watching.
  • Windows Exit Title: window that stops the watching (loop mode only).

The script calls Flash_GenericActionOnce_CC or Flash_GenericActionLoop_CC. In loop mode, an exit window must be added:

function O110100(a) {dialogBox(a);}

See also

  • Transform Animate task
  • Export Animate
Previous Next

Site Tools

  • Media Manager
  • Sitemap

Page Tools

  • Export to PDF
  • Fold/unfold all
  • Back to top

User Tools

  • Log In
en/compatoon/manuals/toonbox/v2/reference/actions_animate.txt · Last modified: 2026/12/02 12:52 by twinstef
CompaToon

Table of Contents

Table of Contents

  • Animate actions
    • Layers
    • Special Process
    • Other actions
    • See also

Translations of this page:
  • fr
  • en

ToonBox

  • Documentation home

Getting started

  • Installation
  • Jobs and Tasks
  • The interface
  • First Job
  • Configure the software
  • Videos

I want to…

  • Create the scenes
  • Prepare the backgrounds
  • Export for compositing
  • Generate movies
  • Make a rough cut
  • Modify scenes
  • Tracker (Kitsu / ShotGrid)
  • Manage files

Reference

  • All tasks
  • % Variables
  • HyperCrop
  • Regular expressions
  • BDL format
  • Matching Table
  • Libraries
  • Action table
  • FFmpeg
  • Glossary

Help

  • Known issues
  • FAQ
  • What's new
  • Production cases

Other tools

  • ToonBox AE Plugin
  • ToonBrowser
  • ToonExpo