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

Hi,

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?

Thanks,
Dmitriy

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.

Thanks,
Dmitriy