Daniele Bartolini %!s(int64=11) %!d(string=hai) anos
pai
achega
fe7fe8b3ca
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      docs/lua_api.txt

+ 5 - 0
docs/lua_api.txt

@@ -426,6 +426,11 @@ Sprite
 	**set_frame** (sprite, num)
 		Sets the frame of the sprite.
 
+	**set_depth** (sprite, depth)
+		Sets the depth of the sprite.
+		Sprites with higher depth values are drawn in front of sprites
+		whith lower depth values.
+
 Mesh
 ----