mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 22:46:19 +01:00
8 lines
392 B
Text
8 lines
392 B
Text
/// @description Creates an instance of a given object at a given position.
|
|
/// @param x The x position the object will be created at.
|
|
/// @param y The y position the object will be created at.
|
|
/// @param obj The object to create an instance of.
|
|
function instance_create(_x, _y, object) {
|
|
var myDepth = object_get_depth( object );
|
|
return instance_create_depth( _x, _y, myDepth, object );
|
|
}
|