Send object to front

I have x number of objects are shown on the screen. For some reason i want the object x1 to be sent to front and to be transparent.

Is there anything that would solve this issue?

Thanks [import]uid: 11038 topic_id: 3829 reply_id: 303829[/import]

Hi iPhone_2010,
You need to look at it not from a vector composing software but from a development platform view. What you are after is the zIndex.

Now, I recollect somewhere that if you insert the object into the displayGroup, it is set as topmost, look at the sample code where the rect touched is brought to the front of the other two.

cheers,

Jayant C Varma [import]uid: 3826 topic_id: 3829 reply_id: 12208[/import]

[lua]x1.parent:insert(x1)
x1.alpha=0.5[/lua]
[import]uid: 6645 topic_id: 3829 reply_id: 12228[/import]