GenChangeSpriteLayer


GenChangeSpriteLayer sprite, layer

sprite

Sprite to change layer.

layer

The sprite's new layer.

This command moves a sprite from it's current layer to the specified new layer. This can be used to move a sprite behind or in front of other sprites.


Game Engine Overview







Become a Patron