how to know wheter my axis values has been changed via c#

hello,
iam using “JointTarget aJointTarget = controller2.MotionSystem.ActiveMechanicalUnit.GetPosition()”
to getting the position of my roboter in RobotStudio(i also know the method task.GetJointTarget().RobAx…)

Is there a way to get an event, that tells me when the values of the axis has been changed.

thanks

Moved to DeveloperCenter

/Henrik