If I have two existing display objects in Corona, lets say do1
and do2
. Assume do1
is drawn first then do2
, so do2
will be on top.
Is there a way to say "put do2
behind do1
" in corona Lua? If yes can you give me an example?
If I have two existing display objects in Corona, lets say Is there a way to say "put |
||||
|
If
Groups are also numerically indexed and the objects are in display order based on the index:
If you happen to add your items out of order, you can move another item to the top in a number of ways:
See also toFront() and toBack(). You an only put items in the front or back. As far as I know there's no way to arbitrarily place items. You can however maintain display order in another list and insert them based on that order. |
|||
|
Just Googled this question and since it's still unanswered, here's the way to do it for others in need:
|
|||
|