How to make a variable "public" and editable when the eye icon next to it does nothing when i'm clicking on it ?

Create a binding:
image

Then make that variable public: