the pick nearest condition works for one point but i want just y position. how do i just do y?
Develop games in your browser. Powerful, performant & highly capable.
which: nearest
X: 0-740 (how do i do a range here?)
Y: 740
You can iterate the object with the "for each" and then use the distance() function to find out which one is closest on the Y axis.
Edit:
Scratch that... distance() is also x,y....
So... iterate over the objects and just compare the Y values.
keepee solved this very elegantly here
i dont get it. could you elaborate for me? i looked at the code and dont see the simularities of what im goimg for,