How do u make a shape creater act like a paint brush in ms paint with gravity

the story is that I’m developing a game called draw bridge a game where u draw a bridge like in MS paint except there’s gravity

I’m not sure I understand what you’re trying to achieve, but if you create a brushstroke object all the time at the position of a platformer character, it will draw as you move it, and gravity will push it back down when it jumps.