Extension condition fail to change picking list

Before proceeding, please use the forum search feature at the top of the page to check if your question has already been answered.

How do I…

make the extenstion pick the closest object to a postition using the taxicab (manhattan) distance

What is the expected result

it should pick the closest object (only one)

What is the actual result

it picks everything (picking list is empty)

Related screenshots

the condition used in a test game

(MAIN STUFF BELOW) the events that are supposed to filter the objects

this part has been tested (it does work). its the expression that returns the taxicab distance

This is a known missing feature:

Note that you don’t need to use JS to use abs.