cursor on an object is not working

I have tried to write a logic, that if I put mu cursor on a object and click it it’s variable select will change from zero to one. Not working?

It should work, can you send screenshots of events ?