Drawing a line (like Fruit Ninja) with Unreal, possible?

Just trying to figure out if it’s possible to draw a shape on the screen (like a line, such as in fruit ninja) then that’d be an object that other objects might collide with-interact with, etc

Possible in Unreal? Any tips or links to a guide would be much appreciated!

The method DeprojectScreenToWorld() will probably be helpful as a starting point.