Layer variables

The following values can be queried and changed through normal data management channels. The position variables are relative to the screen.

grd_x4s1The layer instance's x position relative to the screen
grd_y4s1The layer instance's y position relative to the screen
grd_xoffset4s1The x pixel offset that will be used to determine the origin of the layer instance
grd_yoffset4s1The y pixel offset that will be used to determine the origin of the layer instance
[Note]Note

Any change to the following values affects all layers.

grd_width4s1The layer's width
grd_height4s1The layer's height
grd_alpha1u1The layer's transparency value. The values range from 255 (opaque) to 0 (transparent)
grd_hidden1u1The layer's visibility. A value of 0 states that the layer and all of its controls are visible and a value of 1 hides the layer and all of its controls