Passing arguments along with custom events example

Custom events look super powerful, and I liken it to function calls in C# which is really heckin cool.

Is it possible to pass arguments along with a custom event? An example would be supergreen!

Thanks in advance :smile:

You could store your argument in a variable and then access the variable at the custom event call.
And if you want the function to return something you could also store that in a variable and then access that variable after calling the function.

1 Like

That makes perfect sense, thanks

1 Like