Light Culling from a script

I need to be able to modify my light object’s Culling Mask through a script so it can be changed during the game. I checked the Scripting Reference but honestly it wasn’t very informative on this, and I’m still not sure how to get it to work. If anyone knows how to enable and disable specific layers of the mask with a script, thanks in advance.

It works with bitwise operators! in particular BITSHIFT!

Lookup there and be mindblown!
If you have any qwuestions after reading that dont hestitate to ask!