game_light_2d
game_light_2dCreate 2D point or directional lights and configure their color, energy, and range. Also create light occluders for shadow effects.
Instructions
Create/configure 2D lights and light occluders
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Node name | |
| color | No | Light color {r,g,b,a} | |
| range | No | Light texture range | |
| action | Yes | Action: create_point, create_directional, create_occluder | |
| energy | No | Light energy | |
| nodePath | No | Node path (for configure) | |
| parentPath | No | Parent node path |