Skip to content

Instantly share code, notes, and snippets.

/// @description draw a sprite using four- or nine-slicing
/// @arg sprite
/// @arg subimg
/// @arg x
/// @arg y
/// @arg width
/// @arg height
/// @arg color
/// @arg alpha
/// @arg [slice_top_left] if not supplied, the origin will be used for four-slicing