help with changing Z position in objects

I'm making an object for my desktop that is an icon that is under any open windows, but when you click on it, it turns into another image of a big crack in the monitor when you double click it. I want this image to be over any windows open, but I can't figure out how to change the Z position. Anyone know how to do this?
4,394 views 2 replies
Reply #1 Top
Having 2 objects, one being the icon, and the other being the monitor destruction graphics, each with different z positions would work, but i don't know how to change the z position in other instances. This would help a lot, thanks.
Reply #2 Top
Are you saying you want it on top all the time? Going to properties > Relation > and setting z-order to 'always on top' should keep it on top of windows.

If you only want it 'always on top' AFTER you click the object.........I have yet to discover a way to do z-order through scripting. Object.OnTop brings the object to the top but it won't remain there if you click on something else. That's pretty much all there is concerning z-order in scripting.