Thanks Dan,
But I’m not sure I was clear. If I’m reading your code correctly, each expression will output a single number (either the x or y co-ordinate of a point), but I am looking to pick two different points.
After tinkering around, from what I can find the problem with my original code is perhaps to do with the use of arrays in conditional statements.
I tried paring it down to its simplest essence: I made a text layer, and added a point control to the text layer. In the source text, I put this code:
if(effect("Point Control")("Point")==[600,600]){"true"}else{"false"}
Which seems fairly straight-forward, but the point control is set to 600,600 and it still evaluates to “false”. Am I doing something wrong?
In my original code, I am checking if “start” and “end” are equal, and both are arrays.