Global Variable Yarn

Im new on Gdevelop
i just wondering, can we change the global value/variable using yarn with option dialog ?