• General
  • Accounts
  • FAQ
  • Getting Started
  • Getting Started
  • Home
  • Tutorials
  • Usage & Requirements
  • Usage Requirements
  • Preview Program
  • Uninstall
  • Platforms
  • YouTube Overlay Widget
  • Twitch
  • Twitch Action
  • Twitch Channel Point Commands
  • Twitch Bits Commands
  • Kick
  • Kick Action
  • Kick Channel Point Commands
  • Kick Kicks Commands
  • Integrations
  • Microsoft Azure Speech
  • Lumia Stream
  • TTS.Monster
  • Pulsoid
  • Tiltify
  • TipeeeStream
  • XSplit
  • Streamlabs
  • Streamlabs
  • Streamlabs Desktop (Streamlabs OBS)
  • Infinite Album
  • Patreon
  • Streamloots
  • Streamloots Card Commands
  • Streamloots
  • mtion studio
  • OvrStream
  • VTube Studio
  • VTS P.O.G.
  • Loupedeck
  • Amazon Polly
  • Discord
  • Rainmaker
  • Responsive Voice
  • Crowd Control
  • Crowd Control Commands
  • Crowd Control
  • OBS Studio
  • JustGiving
  • Stream Deck
  • Twitter
  • Twitch Interactive Throwing System
  • StreamElements
  • TreatStream
  • SAMMI
  • Pixel Chat
  • PolyPop
  • Stream Avatars
  • IFTTT
  • Donor Drive
  • Voicemod
  • Google Cloud TTS
  • Meld Studio
  • Features
  • Moderation
  • Inventory
  • Consumables
  • Overlays
  • Custom Overlay Widget
  • End Credits Overlay Widget
  • Chat Overlay Widget
  • Video Overlay Widget
  • Label Overlay Widget
  • Image Overlay Widget
  • Stream Boss Overlay Widget
  • Overlays & Alerts
  • Overlay Widgets
  • Wheel Overlay Widget
  • Persistent Timer Overlay Widget
  • Leaderboard Overlay Widget
  • Poll Overlay Widget
  • Text Overlay Widget
  • Overlay
  • Event List Overlay Widget
  • Game Queue Overlay Widget
  • Persistent Emote Effect Overlay Widget
  • Goal Overlay Widget
  • HTML Overlay Widget
  • Quotes
  • Stream Pass
  • Giveaways
  • Chat
  • Rank
  • Actions
  • Counter Action
  • Action Groups
  • Input Action
  • Sound Action
  • Special Identifier Action
  • Script Action
  • Streaming Software Action
  • Actions
  • Group Action
  • Web Request Action
  • Text To Speech Action
  • Conditional Action
  • Random Action
  • Repeat Action
  • Wait Action
  • Serial Action
  • Consumable Action
  • File Action
  • External Program Action
  • Game Queue
  • Users
  • Events & Triggers
  • Statistics
  • Redemption Store
  • Commands
  • Command History
  • Command Action
  • Community Commands
  • Timer Commands
  • Game Commands
  • Chat Commands
  • Pre-Made Chat Commands
  • Webhook Commands
  • Commands
  • Event Commands
  • Timers
  • Currency
  • Music Player
  • Reference
  • Special Identifiers
  • Mix It Up Ambassadors
  • Services
  • Developer API
  • Integrations
  • Custom Overlay Widgets allow you to build brand-new widgets using various events in Mix It Up. These are useful for when a pre-defined Overlay Widget type does not accomplish what you’re looking for. For example, a single Overlay Widget that handles both chat messages and events in a unified display.

    These are very advanced Overlay Widgets and not intended for beginner users. It is recommended to start with some of the pre-defined Overlay Widgets and learn how to work with them first before attempting to create a Custom Overlay Widget.

    Events

    The following events can be enabled for use:

    • Chat Messages
    • Follows
    • Raids
    • Twitch Subscriptions
    • Twitch Bits
    • YouTube Membership
    • YouTube Super Chats
    • Trovo Subscriptions
    • Trovo Elixir Spells
    • Donations

    When an event is enabled, the corresponding function in the Javascript code will be run every time that event occurs. For example, the ChatMessage() function will be triggered each time a chat message in sent in your stream if that event is enabled.

    Each function takes a single parameter called “data” which is a JSON object containing multiple values associated with the event. The default template for the Javascript will automatically log the contents of the “data” parameter out to the Developer Console. You can access this by opening the Overlay Widget in a regular web browser (Edge, Chrome, Firefox) and pressing the F12 key to open the Developer Console.

    Custom Properties

    Custom properties can be set that can be used within your Overlay Widget. These properties will only be used once when the Overlay Widget is loaded and displayed.

    overlaywidgetcustomproperties.png

    These custom properties can be use just like any other properties in the HTML, CSS, and Javascript by putting { } with the name of the property in-between. For example, if you made a property called “TestProperty”, you can use it in your HTML by putting “{TestProperty}”.

    overlaywidgetcustompropertiesusage.png

    Running Custom Functions

    When building a Custom Overlay Widget, you may often want to implement custom functionality that can be triggered in other areas of Mix It Up. This can be done by using the “Run Widget Function” option on the Overlay Action. This option is usable with all Overlay Widgets, but it becomes particularly useful with Custom Overlay Widgets simply due to the nature of them being custom.

    For more information about how to use this, please see the Overlay Action.

    Choose which cookies to allow. Your preference is saved for 6 months.

    Necessary
    Required for the site to function correctly. Cannot be disabled.
    Analytics
    Helps us understand how visitors use the site. No personal data is shared with third parties.