Dynamic Header Scripting Dark Center Band Scripting
Learn / Documentation / Script Reference / UIToggleBehaviorType


enumeration in Doozy.Engine.UI


The UIToggleBehaviorType enum determines what types of UIToggleBehaviors are available for an UIToggle


  • OnClickUIToggle behavior when the pointer performs a click over the toggle

  • OnPointerEnterUIToggle behavior when the pointer enters (hovers in) over the toggle’s area

  • OnPointerExitUIToggle behavior when the pointer exits (hovers out) the toggle’s area (happens only after OnPointerEnter)

  • OnSelectedUIToggle behavior when the toggle gets selected

  • OnDeselectedUIToggle behavior when the toggle gets deselected