Get Index/Name of the Input parameter that triggered update in Custom Component


basically I need some special actions to be performed in Custom GH component, depending on the input parameter that triggered change/update of the component.

How to find out which input parameter triggered this change/update?


You have to cache each input value and compare a new input value with its cache, to see if they are the same or have changed.

Thanks, @Dani_Abalde
but how to get old values of input parameters?

Creating a variable within the class and assigning it with the input values. If the next time you assign them the value is different from the first, it means that it has changed.

Ok, this way. Thanks.
I thought - it might be smth in-built already to trace it.