Priority()

Last Modified: 9/8/2021

Changes the Priority of a tile or sprite.

Arguments

NameTypeRequiredDescription
HighPri Integer, Boolean Yes True or False, or 1 or 0.

Example

Syntax: Priority(<HighPri>)
    DrawTile 65+Priority(1),1,1

Remarks

To apply this to a sprite, you would use the same method in the above example when using PropSprite on the memory location argument.

See Also

Palette(), PropSprite, HFlipTile(), VFlipTile()