TransformVec in hlsl

Hi
does anyone know how to make a custom node to do the job of TransformVector node? (for ex. from worldspace to tangentspace)
im new to hlsl sry if its a lame question :smiley:
Screenshot 2024-06-05 173419