GenChangeSpriteLayerToEnd sprite, layer
Sprite to change layer.
The sprite's new layer.
This command moves a sprite from it's current layer to the specified new layer. The sprite is appended to the end of the drawing list so that it is drawn last on that layer. This can be used to move a sprite behind or in front of other sprites.