Restarting a program every time you change a value in the Inspector is inconvenient. With
tweak-* nodes, you can adjust values while the program is running.
On the current patch we added a
tweak-number linked to
Let’s learn how to add new tweaks to your program and control them in runtime.
tweak-numbernode to the patch.
tweak-number’s output pin to
2.0and press Enter.
Take a note how the changes are immediately applied while you are in the simulation mode. Try some other values and see how they behave.
Use Up/Down keyboard keys in the Inspector to adjust numeric values by 0.1. Hold Shift to adjust by 1.0.