Notch Notch
Manual 1.0 Manual 0.9.23
 Light | Dark
Javascript Node

Javascript Node

Updated: 4 Dec 2023

Add a custom JS script to manipulate parameters in the scene.

image

Method #

This node allows a custom JS script to manipulate parameters in the scene, evaluate complex logic systems, and other functions.

For a full breakdown see the JavaScript Section.

Parameters

These properties control the core behaviours of the node.

ParameterDetails
Create Javascript File.. Creates a new javascript file and automatically adds it as a resource.
Javascript File A script resource
Add Global Input (float) Add a float parameter that can be sent to the js script as global variables every frame.
Add Global Input (string) Add a string parameter that can be sent to the js script as global variables every frame.
Add Global Output Add a parameter that can be received from the js script as global variables every frame. you can use these values in other nodes by using the Extractor node.

The properties control the time at which the node is active. See Timeline for editing time segments.

ParameterDetails
Duration Control the duration of the node’s time segment.
  • Composition Duration : Use the length of the composition for the node’s time segment duration.
  • Custom : Set a custom duration for the node’s time segment.
Node Time The custom start and end time for the node.
Duration (Timecode) The length of the node’s time segment (in time).
Duration (Frames) The length of the node’s time segment (in frames).
Time Segment Enabled Set whether the node’s time segment is enabled or not in the Timeline.

Inputs

These are defined by the Input Parameters.

Related Videos