Builtin Library
README.md
lighting.addLight
Spawns a point or spot light entity at a position. Point is the default; pass kind = "spot" for a cone light with angle/innerAngle. An editor-only viz radius gizmo shows the light's range while authoring — it never leaks into play mode. Use setLight to update it afterwards by name, and removeLight to delete it.