game_eval
Execute GDScript code in the running Godot game, using return statements to get values back for runtime inspection and control.
Instructions
Execute GDScript in the running game. Use "return" for values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | GDScript code to execute. Use "return" to return values. |