Rat chases its chesse problem

sir why my code not giving output

hi @YASHMATHURIA123 please refer to this code, let me know if you cant understand anything