# Turn off every light_component nested under this entity.
for:
Light : Entity.FindDescendantComponents(light_component)
do:
Light.Disable()
Verse Library
verse
01 Fragment
Iterates through nested light components and disables them to turn off a collected pickup.
verse-library/verse-scene-graph-build-a-system/01-fragment.verse