General Category > Ongoing Anim8or Development

ASL layer functions


There is a new int member layer in shapes that you can read and set.  It is silently clamped to between 0 and 7 if you assign a value out of range:

    int shape.layer;

Objects have new functions for accessing and setting layer properties:

    int object.IsLayerVisible(int layerNo);
    int object.IsLayerLocked(int layerNo);
    int object.ShowLayer(int layerNo, int ShowValue);
    int object.LockLayer(int layerNo, int Lockvalue);

LockLayer and ShowLayer lock and make visible the given layer when the second parameter is non-zero, respectively. They return the old value.


[0] Message Index

Go to full version