How Do I Select A Light In A Script?

1 week Noob here…If I have a scene with a light, how can I select that light via a script and change it’s enabled value? The light in the scene is called floorLight.

Thanks guys

Use the documentation. :slight_smile: