#brush.setButtonRequired(True)
#brush.reset()
mouse_x = mouse.getPos()[0]
mouse_y = mouse.getPos()[1]
brush.pointer.setPos([-mouse_x, -mouse_y])
This is my code. But it works only when I add it to each frame and it draws in between the cursor and the new brush location. So it constantly draws between the 2 points.
I would like to draw when I click the shape placed on the position [0,0] to start drawing on the [-x,-y] position of the mouse not of the screen.
Anyone knows how I can fix this? Thank you!