Sprite
Object that represents a 2D sprite.
Constructors
Sprite(string ID, Color Color)
Properties
string ID | ID of the sprite |
Color Color | Color of the sprite |
Examples
local blankSprite = Sprite("Blank", Color(255, 255, 255, 255));
local bombSprite = Sprite("Bomb", Color(255, 255, 255, 255));
local redTriangle = Sprite("Shape Triangle", Color(255, 0, 0, 255));