Game Maker
Register
Advertisement

object_add() Adds a new object. It returns the index of the object. You can now use this index in some routines to set certain properties of the object and then you can use the index to create instances of the object.


Example:

variable = object_add()

Advertisement