I have an object and I want it to be positioned in x following an order, for example I want it to go from 1 to 5 in order, not "choose or random".
I don't want to pick up randomly, I want it to pick up how I want it
If you just need to increment by one, you can use this method.
Self.X+1
If you need a different order of numbers, you can create a list in a string or array.
absolutely not, I want to choose in order, not random or choose. but thanks my friend
You could do something like:
Var i=0
On click
— Set x to ChooseIndex(i, 20, 50, 300)
— add 1 to i
Develop games in your browser. Powerful, performant & highly capable.
It's sublime, it's beautiful, it's perfect. With this I can now choose the position I need in the order I want and create a loop so it keeps doing it forever.
Thank you doggie with elegant suit. It's exactly what I was looking for