GDScript

    A script implemented in the GDScript programming language.

    creates a new instance of the script. Object.set_script extends an existing object, if that object’s class matches one of the script’s base classes.


    Returns a new instance of the script.