aseprite/data/scripts/sprite.lua

12 lines
283 B
Lua
Raw Normal View History

2007-09-18 23:57:02 +00:00
-- ase -- allegro-sprite-editor: the ultimate sprites factory
-- Copyright (C) 2001-2005 by David A. Capello
-- closes the current sprite
function CloseSprite()
local sprite = current_sprite
if sprite then
sprite_unmount(sprite)
sprite_free(sprite)
end
end