Part of StarfallEx namespace
๐ External
light.create(pos, size, brightness, color)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Creates a dynamic light (make sure to draw it)
Parameters
| Name | Type | Description |
|---|---|---|
pos | Vector | The position of the light |
size | number | The size of the light. Must be lower than sf_light_maxsize |
brightness | number | The brightness of the light |
color | Color | The color of the light |
Returns
| Type | Description |
|---|---|
Light | Dynamic light |
Examples
No examples available.
Used In
No usages found in the codebase.