eastern-flames/eastern flames/scripts/instance_create/instance_create.gml

9 lines
257 B
Plaintext
Raw Permalink Normal View History

2022-08-07 21:14:04 +00:00
///@function instance_create(x, y, object, [layer, depth]);
function instance_create(x, y, object, layer_="instances", depth_) {
var chump = instance_create_layer(x, y, layer_, object);
if(depth_ != undefined){
chump.depth = depth_;
}
return chump;
}