How to jump over obstacle

Hello everyone , ı am sorry about my english :slight_smile: My question is that ı have a character and obstacles . ı uploaded a few animation to my character . ı wrote code and ı did add to my character . ı can move by animation . But how can ı jump over obstacle by animation ? or how can ı slide under obstacle by animation ? ı hope , you understand me . thank you …

You can set an Animator.
public Animator Anim;
Then you can use the structure Anim.setBool(“YourBool”,true);