That’s not really it. You need something that measures the state of the electron. Merely looking in the direction is not enough. It has to be something that interacts with the electron.
A camera alone isn’t enough. But light (eg photons) with enough energy should be enough. But then that energy will manipulate the electron. If you had a completely dark room and pointed a camera at the experiment it wouldn’t change anything.
It’s kind of like having your cake and eating it too.
So if we didn’t need light to see it then it would continue doing whatever it does?
I wonder how the universe would look if we didn’t need light to see 🤔