Would not make more sense to install a traffic light with a button, press button, goes red for cars, kids cross. They could also have the button deactivated at school hours and work with a time counter.

It's important to have good sound engineering along with the lights.

* https://old.reddit.com/r/bluey/comments/1qc7iz1/listen_close...

* https://www.youtube.com/shorts/smSqEI3aG38

They have cross walks that have lights when pressed, but not traffic lights, just the warning orange ones.