Lights turns on according to the position of the sun

The street light needs to be a blueprint, this is all happening inside the blueprint

I didn’t show you that bit, because I was assuming you already had an on/off piece of code…