Rec/drop points for automated parameters under cursor

I have panning plugin with graphic interface, position of the cross has two parameters X and Y (or azimuth and elevation)

i need, being going frame by frame (moving cursor), set up the cross at desired screen position and write down/rec/drop points for these two automated parameters under the cursor. And in a such way that two created automation points in a parameter would be joined together by line, without jumps.

How can i do that? I can not find any obvious solution/keycommand.

… no way?