Check the function definition
The definition below describes the reward function from the preceding lesson. Its names, order and types match the code: points first, then message.
Figure 21. Functions as Actions and Nodes: the function metadata and Use Definitions button.
Use Definitions accepts this dialog. Apply Changes in the script editor then stores the script record, including the definitions. Save the project after both steps.
If you change the definition later, keep the function signature in the source aligned. Metadata describes code; it does not rewrite the function for you.
