the pick nearest condition works for one point but i want just y position. how do i just do y?
X: 0-740 (how do i do a range here?)
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.
Scratch that... distance() is also x,y....
So... iterate over the objects and just compare the Y values.
keepee solved this very elegantly here
Develop games in your browser. Powerful, performant & highly capable.
i dont get it. could you elaborate for me? i looked at the code and dont see the simularities of what im goimg for,