How to use MathEasy distance extension block

chongyunxiang

  • Posts: 258
Hey, I tried using the MathEasy distance extension block to measure the distance between 2 actors. I'm trying to create a behavior that I can use across all the food, calculating the distance between Self and Pet. But when I select it, it only shows Actor and not the other attributes. How do I set the Actor to my pet so that it only interacts with the Pet and not other actors on screen?

I've also have a problem. When I release my mouse, the food kills itself even though its not near to the pet. Did I use the block wrongly?