How do i use the mouse to change automation overlays?

How do i use the mouse to change automation overlays? do i set manual write play ? when the line appears i try to ad markets to is and drag it but to no avail. what am i doing wrong?

Set it to ‘touch’.
Double click on the line to add a marker.