How to create a queue in the store?

Hello everyone! I have a problem.

I am making a game about a store, where a queue of customers should form at the cash register.

Every 10 seconds, a new customer should appear, enter the store, and stop at a designated point. The first customer stands at the point closest to the cash register, the second one follows the first customer, and so on. Additionally, when the first customer in the queue leaves, the second customer should take the place of the first customer, and so on.

Any ideas on how to do this?

I helped someone with a line. There are 2 methods. This might help.

Thank you very much! You have been very helpful. )

1 Like

why not the stack extension?..
create a placeholder where the cue forms.
add stack extension to it.