I'm trying to make a custom inspector with functionality that applies to all kind of built-in components.
What I'm really trying to do is get as a string the name of the property selected in blue in the inspector when I select it. Is there any way?
Example: When highlighting Local Position, is there any way to get "Transform Component - LocalPosition (0,0,0);

I tried reading the API to know if there's something that could help me but haven't had any luck. Also tried using CustomEditor(TypeOf(Transform)) but I'm not able to access the values when highlighting.
Any help would be really appreciated!