layer_sort(void* element, var layer)
Places a layered element - a panel, text, view, or a view or sky entity
- on a different layer.
Parameters:
element - pointer of type PANEL*, TEXT*, VIEW*, or
ENTITY*.
layer - the new layer of the element.
Returns:
Nonzero if the operation was successful.
Speed:
slow
Example:
layer_sort(mypanel,999); // panel to the front
See also:
PANEL, TEXT, VIEW, ENTITY, SKY, layer