ludum-dare-22/scripts/background_get_texture/background_get_texture.gml

10 lines
278 B
Plaintext
Executable File

/// @description Returns the texture id for the given background.
/// @param back The index of the background to use.
/// @returns {pointer} a pointer to the background texture
function background_get_texture(argument0) {
return sprite_get_texture(argument0, 0);
}