Set a sprite texture
load_spriteAssign an image texture to a Sprite2D, Sprite3D, or TextureRect node in a Godot scene and save the updated scene.
Instructions
Set the texture of a Sprite2D, Sprite3D or TextureRect node in a scene and save it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | The node, e.g. "root/Sprite2D". | |
| scenePath | Yes | The scene, e.g. "res://player.tscn". | |
| projectPath | No | Folder containing project.godot. Optional: defaults to the project Claude Code is running in. | |
| texturePath | Yes | The image, e.g. "res://art/player.png". |