Global Variable outside widget

How to change the value of a global variable outside of a KWGT widget ?

I tried with KWGT Action Widget and could'nt get result

Thank you for your help