Documentation

Learn how to use NodeCanvas

Download PDF Version

Dynamic Variables

You will notice that when you are to select a variable from the dropdown there is an option for (DynamicVar).You will often want to use a variable to communicate some data between two tasks in a small scope and it would be tedious as well as unorganized to create a variable in the blackboard for such temporary use cases.

DynamicVar

Using a Dynamic Variable, allows you to directly input the name of a variable which will be created at runtime when itโ€™s needed, without having one predefined in the blackboard. This is a feature that admittedly requires good naming organization on your part, but can be useful in some cases nonetheless ๐Ÿ™‚

DynamicVarExample

Yes No Suggest edit
6 of 6 users found this section helpful
Suggest Edit