Hi,
The section
Declaring Script Attributes
Script Attributes are declared at the top of your script file using this format:
var MyScript = pc.createScript(“myscript”);
MyScript.attributes.add(“speed”, “number”, 80);
I should be more like:
MyScript.attributes.add(“speed”, {type: “number”, default: 80});