How to use WeldTo on actor?

How to use WeldTo() function on actor?
UPrimitiveComponent::WeldTo