VR Painting

I want to paint something like a whiteboard in VR.

Although it was possible to create in FirstParsonMode with reference to the following video, it cannot be implemented in VR mode. Unreal Engine 4 Tutorial - Making a Usable Whiteboard - YouTube

How should I write processing when implementing in VR? I am a beginner, so it would be helpful to have a detailed explanation.

Sorry for my poor Engilish.

why should it not be implementable in VR? Attach the trace to the VR Controller and rest is exactly the same.