Thanks for your reply! That's something that worked indeed. Although I'd like to model it in a different way. At the moment I am trying to store the location.x of each entity in a vector, and keep this updated by using an add-on process with a loop. From there I would like to let every entity use the find step, to look for the lowest value in the list for location.x - (their own location.x).
When this is done, they should switch to a boolean state in which they are trying to "couple". If this is true, these entities will not show up in the previous list with the lowest location.x.
When this boolean state is active, I would like to let the entity behind speed up, until the distance between the targeted entity is for instance "1m", after that they should proceed with the same desired speed.
I did find some interesting simbits which does something similar like "FindAMinimumStateValue.spfx", although. Instead of updating serverprocessing times, I would like to store the location.x of each created modelentity. Is there any way to do this?