DexTool/Project/scripts/@instance_create/instance_create.gml
2020-03-01 18:30:44 -06:00

7 lines
365 B
Plaintext

/// @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.
var myDepth = object_get_depth( argument2 );
return instance_create_depth( argument0, argument1, myDepth, argument2 );