load_sprite
Load a texture file into a Sprite2D node within a Godot project by specifying the project directory, scene path, node path, and texture file path.
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") | |
projectPath | Yes | Path to the Godot project directory | |
scenePath | Yes | Path to the scene file (relative to project) | |
texturePath | Yes | Path to the texture file (relative to project) |