load_sprite
Loads a texture onto a Sprite2D node, updating the sprite in a Godot scene using specified paths.
Instructions
Load a sprite into a Sprite2D node
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodePath | Yes | Path to the Sprite2D node (e.g., "root/Player/Sprite2D") | |
| scenePath | Yes | Scene file path (relative to project) | |
| projectPath | Yes | Godot project path | |
| texturePath | Yes | Path to the texture file (relative to project) |