I have provided a screenshot to demonstrate.
I actually want to make that…
when I jump that side of green monster …
the monster should face the player and attack it…
and when I jump back again to previous side of monster…
monster should again face him…
How can I make this to happen?