game_path_2d
Create and modify Path2D nodes by adding, setting, or retrieving curve points to define paths for 2D animations or object movement.
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) |