Struct GDScript

A script implemented in the GDScript programming language.

struct GDScript ;

The script extends the functionality of all objects that instance it. new creates a new instance of the script. GodotObject.setScript extends an existing object, if that object's class matches one of the script's base classes.

Methods

NameDescription
_new Returns a new instance of the script. For example:
getAsByteCode Returns byte code for the script source code.