Methods, functions, scripts. They're all the same thing, and they're all really simple! Click read more to learn!
You put something in
and something else comes out!
Let's start simple
But how does it actually work?
GML
var original_value = argument0; //Read the pass in
return original_value + 1; //Return the value, plus 1
Python
def Add_One( original_value ): #Define the script
return original_value + 1 #Return the value, plus 1
Look, even scratch has scripts!