A

Wrong term used when describing new and instance

Anomalocaris

In the section on new() and instance(), the following is written:

You use new() if you want an instance of a script, and instance() if you want an instance of a scene.

It should read:

You use new() if you want an instance of a node, and instance() if you want an instance of a scene.

  • Nathan Lovato replied

    The lesson text is intentional. A script may describe objects other than nodes, so new() doesn't necessarily produce a node, but any kind of object. And we haven't introduced the abstract notion of object yet, so it's not something we can say here.

    1 love