[How to]create simple painting tool inside game (like paint tool in vrchat)

I just wonder how could I learn or find any info about gettting a plug-in or anything which in my own game, people could grab a pen and paint (just like vrchat). Thks!