game_script
game_scriptAttach, detach, or retrieve the source code of GDScript files on specific nodes in the Godot game engine.
Instructions
Attach, detach, or get source of node scripts
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action: attach, detach, get_source | |
| source | No | GDScript source code (for attach) | |
| nodePath | Yes | Path to the node | |
| className | No | Class the script extends |