Here this is I want, I want my object pass through door for 100+ doors.
if object got inside door then door is closed (boolean=false) so next object will seek next door and so on than 100+.
or if door 1 - 10 is closed and I set door 2 to opened , object must get to door 2 before door 11.
So there is always only 1 correct door to pass through or 1-10 can be passed through randomly?
If it isn’t random then each door could just have a reference to the “next” door.
If it is random when 1-2-3-4-5-6-7-8-9-10 is closed they need to be in a group (array) and this can call an event when they are all closed. Easy way would be to give the door a group ID and use that on Construct to create the array.
You need a way to know about the next door so each door has a instance editable variable perhaps called “NextDoor” and in the level editor you set up this reference.