SetLayer()

Syntax:

SetLayer( Number )

Parameters:

Number – The number of the layer on which you want to place this Object. The number must be an integer. The number is zero-based indexed i.e. the first layer is index position 0, the second layer is index position 1, and so on. This parameter is required.

Remarks:

This function will set the layer position of an Object. This function is useful for making Objects appear above and below other Objects on the screen, for example, if you want to move an object to the front of the screen, you could set the layer number to 0, which is the top layer.

image\Script_Button.jpgExamples