How to know if a animation node is playing inside a animation tree
Thanks
if get_node("AnimationPlayer").assigned_animation == "Whatever_animation":