Sometimes you want side effects when you enable or disable an entity, like playing an animation.

  • on_enable()
  • on_disable()
  • on_destroy()
Back to Docs