Login

Fancade Wiki

Updated Introduction to Editor Scripting.md (markdown)

... ...
@@ -87,7 +87,8 @@ let justATree = {
87 87
}
88 88
};
89 89
90
//If you want to you can also add or override properties later
90
//If you want to you can also add or override properties later e.g.
91
justATree.position = [0, 0, 0];
91 92
```
92 93
properties are values that represent chracteristics of an object it can be any value type or a function. As you can see in our example we made the object `justATree`which contains properties named `x`, `y`, `z` and `component`. Using this properties lets try to make a method that will build the tree!
93 94
Fancade Wiki