Skip to content

pytha Lights Functions

fabian-flassig edited this page May 21, 2026 · 1 revision

Here we link to the functions equivalent to the "Lights" in the PYTHA user interface.

PYTHA Function Lua Api Function
Point Light create_point_light_source
Spot Light create_point_light_source (with options.spot = true)
Extended Light create_point_light_source (with options.extended = true)
Infinite Light create_point_light_source (with options.infinite = true)
Face Light set_element_face_light

Version Support:

Minimum PYTHA Version: V26

See also:

pytha, Parts Functions

Clone this wiki locally