How to draw a square in game

Hey, I was wondering if anyone knows how to draw a square or any shape while using the mouse in game. I’m really not sure how to go about it

I’d look into ray tracing. For free form shapes, lets say you have a plane. in the material of the mesh, you’d get the hit location and change the vertex colour. You can then use that vertex colour as an apha for a lerp between 2 colours. :slight_smile: