how to make the player draw anything with mouse?


i want to know how i can make the player draw anything (line,circle,…etc) with click on right click mouse and draw

please help

That depends on how you want to “draw”. There is no native draw in unity afaik. You can create your own textures for each circle, line etc on sprites and then instantiate a prefab when payer right clicks. You can use animated sprites and run animation to control the draw speed, direction etc. Or you can simply use native geometries like sphere/cubes/quads when you want to draw. This is a very broad question, I guess you have to be more specific what kind of art direction you are looking for.