game_path_2d
Manage Path2D and Curve2D nodes by creating, adding, setting, or retrieving points to define movement paths for AnimatedSprite2D.
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) |