Answers for "gms2 functions in object"

2

gms2 object functions

// put the function inside of the create event!

function youFunction(args) {

}

yourFunction = function(args) {

}
Posted by: Guest on August-09-2021
3

gms2 object method

// It's important that this method is defined before it's being used
// put the function inside of the create event!
methodName = function(args) {
  // Do stuff
}
Posted by: Guest on May-10-2021

Browse Popular Code Answers by Language