Thank you very much superku you are always helpful. It is working like a charm,
can i also check inside an if condition weather the entity reached the target angle? I mean what to wright inside if() in that case? thank you again.