How can I hide a sprite, depending on animation states being active?

How can I hide my arm sprite, whilst either my idle and physical attack animations are active.

@Passfield , here is how i do it:

  • You need to place the arm as a child and then in the animation state that you need
  • start recording the animation and disable the sprite renderer at the frame that you need
  • then enable the arm in whatever state of animation that you need in the same way