~~NOTOC~~ :!: Available in version 43 and later. (for new IRPL commands) ====== SetSpriteLayer ====== SetSpriteLayer(<-spriteUID <-layer) ===== Description ===== Sets the render sort layer for the sprite. Sprites are rendered based on their layer and then their order within a layer. Possible layers are:\\ 0: Sectors. This is the layer the sand is rendered in.\\ 1: Lower. This is a unit layer below the default.\\ 2: Default. The normal and default layer for sprites and units.\\ 3: FOW. The Fog of War layer.\\ ===== Examples ===== #REnder behind the sand SetSpriteLayer(<-mySprite 0) SetSpriteOrder(<-mySprite -1)