Whats an easy way to put text as the background allowing moving objects to cross over?

is it as simple as using a background function?  or is there a certain sequence that is needed?  im looking to have both dynamic and static objects move over the text as there are collisions. and need them to maintain infront the text.

Thanks

Blake

Corona works in layers, so the first display objects that you create will naturally be at the back, and as you continue creating more they will stack “on top”.  So if you need objects to cross over the static text, first create the static text then create everything else on top of it.  

And if needed, you can use the functions toBack() and toFront() to rearrange things.

great info to know 

thanks

blake

I’d suggest using display groups to organize your content into layers.  While toFront(), toBack() will work, it is much easier to simply order some groups and then place objects in the right  groups to get the effect you want.

Corona works in layers, so the first display objects that you create will naturally be at the back, and as you continue creating more they will stack “on top”.  So if you need objects to cross over the static text, first create the static text then create everything else on top of it.  

And if needed, you can use the functions toBack() and toFront() to rearrange things.

great info to know 

thanks

blake

I’d suggest using display groups to organize your content into layers.  While toFront(), toBack() will work, it is much easier to simply order some groups and then place objects in the right  groups to get the effect you want.