Skip to content

Home - Events

What are events?

Events are things that happen in your world. They can be generated by the world or they can be triggered by users sometimes. An example of an event is Begin(), which happens on every object in your world when they spawn. If you wanted an object to change color to blue when it spawns, you would want to implement the Begin() event and then change its color inside the function.

Events are implemented inside of a Lua script on the object you want to implement the Event. See the examples of Events for more instruction on how to implement each Event.