click listener in trouble

file

Has any property to avoid this problem

In this condition , whichever without click but just mouse on it ,the Viewbox would be moving

If you don’t want to click you can use <WhileHovering> instead of <WhilePressed>.

But if you move the viewbox away from the pointer it will stop hovering. Then you can get jittering when the animation starts and stops each time a new hover event is registered.