Create XY pad
create_xy_padBuild a draggable XY pad whose pointer drag drives normalized X/Y channels, remapped to custom ranges and bound to target parameters. Optionally add a Z slider.
Instructions
Build a draggable 2D (XY) gesture pad — a Container COMP whose pointer drag drives an x/y CHOP of normalized control channels, optionally remapped into ranges and bound by expression to target parameters (e.g. an effect's two main knobs). Add a 3rd (Z) axis via z_target to also get a slider. Open the container in Perform/Panel mode and drag inside it to scrub X/Y live. The pad reads its drag through a Panel CHOP; the u/v drag-channel names are probed at build time (they vary by TD build) and any mismatch is reported as a warning. Leave the axis targets empty to just expose the x/y channels and bind them later with bind_to_channel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parent_path | No | COMP path that will hold the XY pad (e.g. '/project1'). | /project1 |
| name | No | Name of the container COMP built as the draggable pad. | xy_pad |
| x_target | No | Optional 'nodePath.parName' driven by the X axis. Empty = just expose the x/y channels (bind later with bind_to_channel). | |
| y_target | No | Optional 'nodePath.parName' driven by the Y axis. Empty = none. | |
| z_target | No | Optional 'nodePath.parName' driven by a 3rd (Z) axis. When set, a slider is added (the pad has no native 3rd axis) and its value0 drives this target. | |
| x_range | No | Output range [low, high] for X. The pad's normalized u (0..1) is remapped into it. | |
| y_range | No | Output range [low, high] for Y. The pad's normalized v (0..1) is remapped into it. | |
| z_range | No | Output range [low, high] for the optional Z slider (0..1 remapped into it). | |
| label_x | No | Display label for the X axis (used in the summary). | X |
| label_y | No | Display label for the Y axis (used in the summary). | Y |
| size | No | Pad size in pixels (square: width = height = size). |