How to pick second nearest object?

Pretty simple question, is there a way to select the second closest object?

You could filter out the nearest object. Basically checking for the nearest object twice. Ignoring the nearest object the 2nd time.

Pick nearest
Change some value like a variable boolean for just that object
(I’ve seen someone who likes to lower the opacity to 254)

Then filter out that object with the appropriate condition that ignores that object

Variable nearest of object is false
(or opacity equals 255)
Pick nearest object

Make sure you reset your variable or other setting before or after use so it’s reset each time and all objects are the same.

Do you have any images of what exactly this would look like?

This rotates the 2nd nearest object using the object variable Nearest

1 Like