Accessing BP_Motion Controller in Widget

Please let me know how can I access BP_Motioncontroller Blueprint in a widget to get variables of BP_motionController.
Also let me know, what should I pin to Object, if i cast the blueprint?