Greater than with 2 values

Is there anyway to check if something is larger than another thing (the other thing being a position of another object), and decide something based on the outcome? I want my ai to move towards the ball and raycasts only go in one or two directions so how do I?

1 Like

You can use a Filter to compare two values this way. Take a look at the Enemy logic in the example Enemy Chase 2 on the examples page here: Flowlab Game Creator - Flowlab Game Examples