Operator Language

From TouchDesigner Documentation
Jump to: navigation, search

The Language Mode for an operator controls the scripting language used for the operator's parameter expressions, and in the case of DATs, the language used for the DAT contents as well.

The mode can be toggled between the default Python and Tscript using the Language button in the top of each operator's parameter dialog.

Note that the color of text in DAT viewers will change based on Language Mode, blue = python, purple = tscript.

Python Mode[edit]

Python Mode

Tscript Mode[edit]

Tscript Mode

An Operator Family that manipulates text strings: multi-line text or tables. Multi-line text is often a command Script, but can be any multi-line text. Tables are rows and columns of cells, each containing a text string.

TouchDesigner's original built-in Command scripting language prior to Python.