Create Object with Swipe at screen?

hi guys…newbie here

i just found example at gdevelop create object with mouseclick.
is there anyway we can use swipe to create object.like drawing game?

Take a look at shape painter object. It is useful for drawing shapes.

Thx bro. i see that too complicated for me…lol
i think i just want to draw a line.do you have any suggestion for drawing a simple line ?

If you want to draw, make an object that will be the tip of your pen and then in the events, condition: left click or touch is pressed, action: create the object at the cursor position.

1 Like

For drawing a line you can create a ShapePainter object and add something like this in the event sheet

Thx guys…appreciate it.its really good to have this forum…newbie like me can learn from scratch