load_sprite
Load a texture onto a Sprite2D or TextureRect node in a Godot scene by providing project, scene, node, and texture paths.
Instructions
Load a texture onto a Sprite2D/TextureRect node inside a scene.
Args: project_path: Absolute path to the Godot project directory. scene_path: Scene path relative to project. node_path: Path to the Sprite2D node (e.g. 'root/Player/Sprite2D'). texture_path: Texture path relative to project.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_path | Yes | ||
| scene_path | Yes | ||
| project_path | Yes | ||
| texture_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |