How do you create GET/SET's that have additional input/outputs, but only some of the time? I included screenshots to elaborate

I am trying to copy a blueprint I found online, but don’t know how to recreate a specific part.

In the code I am running into this (note that this validated GET has an additional node on the left):
image
image

Now I know that usually you would just add inputs/outputs in the details panel, but there isn’t anything there in his code.

And what’s more, what I drag the variable from the variables list and press get or set I only get the normal variant of both.
image

So, does anyone know what is going on here, and how I could recreate this in my code.

Hey there @Mesha! So you’re looking at what’s called a “Validated Get Node” you get it by right clicking a get node and turning it into a validated get from it’s context menu. The set with a target usually comes when you are setting a different actor’s variable.

The target pin is there when you’re trying to get or set a variable that is not of the “self” blueprint. So if you for example cast something to a class, and you set a variable on the result of the cast, you will get the target pin