element

abstract fun <T : HudElement> element(element: T): T

Adds a custom element.