Additional Resources#
For a more in-depth understanding of defining custom events, you can refer to the built-in event library on GitHub.
You may notice that the built-in events inherit from BuiltinEvent
. However, the fundamental structure remains the same when using custom events—simply replace BuiltinEvent
with CustomEvent
, and everything should function seamlessly.