RobotStudio event

Get robtarget processed by a motion instruction

Is there a specific way for knowing the robtarget that is being processed by a motion instruction? It would be sufficient to know the pos (x,y,z). I try to explain better with an example: let imagine that the main task is processing a "MoveL P1". Is it possible to know in a parallel task that the main task is processing robtarget P1 (and to know then x,y,z coordinates we are moving towards to)? (maybe I can save each position in a tasks-shared variable before each move instruction but is there a better way?)
Thank you.