Got Value Secuence

Is it possible to do something like I show in the block image?
I understand that the fact that the got value event is executed after the click is a peculiarity of kodular but I would not like to have to fill the got value event with ifs to see from which point of the application I am executing the get value method.

use a global variable and set that variable before using the GetValue method
then in the GotValue event check that variable