I want when the left mouse pressed to draw a line between a ball on the scene and the cursor position and when the mouse is released the line get disappears. what show I do?
When I use draw line action what should I write in shape painter object?
I’m pretty sure that an instance must be present on the scene, just drag a Shape Painter on the scene and that is what you’ll have to select in the event
I confirm what others say
First you need to have shape painter object in object list
Then either you need to have it on the scene or create it via events
Relax it is invisible
Do not look on my Player.CenterY()-20
That - 20 is there because center point of my player is at his feet so i needed to move it 20 pixels up in expression