hi
thanks for the corrected function - problem solved
the other issues was solved too. it seems that In my abp_unit in the transition rule of the animation I had the blend setting duration set to 0.2’ I just had to set it to zero. sometimes I have this small things that I get stuck on them for hours
anyway sorry for the time, and thanks a lot for the help
cheers
leo