I'm trying to make it to where you can scroll through a list, I found that the method I was using sorta broke once I added a search bar. Is there a variable that gets like the highest Y out of the whole family and the lowest Y as well?
Yes. It's called "Pick by highest/lowest value" from the System object. It will pick the object. If you want to know the actual value then just access it and store it in a variable after picking.
You can choose a family just like any other object.
Develop games in your browser. Powerful, performant & highly capable.
Yes. It's called "Pick by highest/lowest value" from the System object. It will pick the object. If you want to know the actual value then just access it and store it in a variable after picking. You can choose a family just like any other object.
I meant more for like an action like an Object.Blank
No, there's no action that finds the highest/lowest Y value. If you want it exactly like that then you have to create your own custom action and compute it yourself.
Docs for custom actions: https://www.construct.net/en/make-games/manuals/construct-3/project-primitives/events/custom-actions
I promise my solution would work pretty easily though.
I just realized that custom actions can't return values nor objects. So that won't work. You would have to create a function.