Categories


Description :

Sets the layer value of the object as specified. Layer determines the order in which objects are drawn. Only available to classes.

Uses :

Use this for changing the order in which objects are drawn while the game is running. You can use this to bring an object to the front, or send it to the back.

Example :

This code sets the layer value of the object to 10 when the mouse button is pressed on it. This will bring the object to the front of all objects with layer value below 10.