game_path_2d
Create and manage Path2D/Curve2D paths by adding, setting, and retrieving points, enabling precise movement paths and animated sprite control in Godot scenes.
Instructions
Path2D/Curve2D management and AnimatedSprite2D
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Node name | |
| point | No | Single point {x,y} | |
| action | Yes | Action: create, add_point, set_points, get_points | |
| points | No | Array of points [{x,y},...] | |
| nodePath | No | Path2D node path | |
| parentPath | No | Parent node path (for create) |