What exactly is the difference between a Method and a Event? I get confused in mashing them together. I believe a method sets up the way for a function and a Event fires when a Method is called? Help?
✓ ANSWER ACCEPTED
Differentiation of the two?
1 answer
✓ Accepted answer
An event is just like an event in real life -- it's when something happens. When something specific happens, the event will fire, as we call it. The Touched event will fire when a Part is touched. We can script so that certain things happen when the event fires, but that has nothing to do with what it is.
A method, on the other hand, is code set aside by roblox that we can execute on a specific object. It really has nothing to do with an event. part:Destroy() will destroy the part wherever we write it. It won't wait for something to happen, it will just do something when we tell it to.
This discussion is preserved as it was. New answers, comments, and votes are closed.
