Skip to content

Instantly share code, notes, and snippets.

@harlynkingm
harlynkingm / set_sfm_light_colors.py
Last active August 24, 2026 22:20
Source Filmmaker: Script to set light colors using a color picker
# set_sfm_light_colors.py
#
# Source Filmmaker script.
#
# Finds every animation set in the current document that targets a light
# (ambient / directional / point / spot), shows a checkbox list so you can
# pick which ones to touch, then lets you pick a single RGB color (via a
# native color picker or manual R/G/B fields) and writes that color onto
# every selected light's color_red / color_green / color_blue controls.
#