How can I use Collision Trace Node like LineTraceByChannle in Blurprint of UObject.

I create a class inherit from UObject,and I want to use LineTraceByChannle. But I find that It can not add blueprint node of Collision Trace. what should i do to solve.
Modify CPP or include some .h file?