Material Custom HLSL Node convert to parameters?

When I use custom HLSL node in material and right click on it, there’s no Convert To Parameters.But UE builtin float4 can convert to vector. So what should i do if i want to use the custom node’s alpha parameter?

if the output is float4, you use ComponentMask at the output and set only Alpha as the filtered channel.