Priority()
Previous  Next

Description: Changes the priority of the tile or sprite being drawn.

     Syntax:
     
Priority(<PriorityLevel>)


Part
Description
<PriorityLevel>
Required. Valid values are 0 for low priority and 1 for high priority.

Example:

        a = AddSprite(1,1)
        PropSprite a,1+Priority(1), 0
        MoveSprite a, 200, 200
        ShadowMode ON