How to change an input type (parameter - variable) based on another one? (Wildcards)

THANK YOU VERY MUCH!!! You saved my mental health. I spent all afternoon and night looking for this and all morning today too. I didn’t find anything regarding “SetParam”.

Now, additional questions if you would like to answer for me:
1 - Where did you find this “hack”? I didn’t find anything about this in the documentation or in the UE source code. Friend, I looked in everything I could. If there is some documentation explaining more about “meta”, I would be happy to read it. Well, the current documentation doesn’t show everything. I kind of have to keep guessing things (so far I’ve got it right, except for the “SetParam” one). lol
2 - When adding what you said, I noticed that a “symbol/icon” appeared at the bottom of my function (CompactNode), would it be possible to remove this icon? (If it doesn’t work, no problem. I’ve already managed to do what’s necessary with your great help).

Sincerely, HighRender.