[{"data":1,"prerenderedAt":391},["ShallowReactive",2],{"navigation_docs":3,"-obs-moving-the-widget":146,"-obs-moving-the-widget-surround":386},[4,31,52,78,94,120],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":30},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,15,20,25],{"title":11,"path":12,"stem":13,"icon":14},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction","i-lucide-house",{"title":16,"path":17,"stem":18,"icon":19},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation","i-lucide-download",{"title":21,"path":22,"stem":23,"icon":24},"Connect accounts","\u002Fgetting-started\u002Fconnect-accounts","1.getting-started\u002F3.connect-accounts","i-lucide-plug",{"title":26,"path":27,"stem":28,"icon":29},"Updating","\u002Fgetting-started\u002Fupdating","1.getting-started\u002F4.updating","i-lucide-arrow-up-circle",false,{"title":32,"icon":33,"path":34,"stem":35,"children":36,"page":30},"OBS","i-lucide-monitor","\u002Fobs","2.obs",[37,42,47],{"title":38,"path":39,"stem":40,"icon":41},"Browser source","\u002Fobs\u002Fbrowser-source","2.obs\u002F1.browser-source","i-lucide-app-window",{"title":43,"path":44,"stem":45,"icon":46},"Moving the widget","\u002Fobs\u002Fmoving-the-widget","2.obs\u002F2.moving-the-widget","i-lucide-move",{"title":48,"path":49,"stem":50,"icon":51},"A theme per scene","\u002Fobs\u002Fscene-themes","2.obs\u002F3.scene-themes","i-lucide-layers",{"title":53,"icon":54,"path":55,"stem":56,"children":57,"page":30},"Themes","i-lucide-palette","\u002Fthemes","3.themes",[58,63,68,73],{"title":59,"path":60,"stem":61,"icon":62},"Built-in themes","\u002Fthemes\u002Fbuilt-in-themes","3.themes\u002F1.built-in-themes","i-lucide-image",{"title":64,"path":65,"stem":66,"icon":67},"Premade themes","\u002Fthemes\u002Fpremade-themes","3.themes\u002F2.premade-themes","i-lucide-layout-template",{"title":69,"path":70,"stem":71,"icon":72},"Theme editor","\u002Fthemes\u002Ftheme-editor","3.themes\u002F3.theme-editor","i-lucide-pencil-ruler",{"title":74,"path":75,"stem":76,"icon":77},"Sharing themes","\u002Fthemes\u002Fsharing-themes","3.themes\u002F4.sharing-themes","i-lucide-share-2",{"title":79,"icon":80,"path":81,"stem":82,"children":83,"page":30},"Commands","i-lucide-terminal","\u002Fcommands","4.commands",[84,89],{"title":85,"path":86,"stem":87,"icon":88},"Chat commands","\u002Fcommands\u002Fchat-commands","4.commands\u002F1.chat-commands","i-lucide-message-square",{"title":90,"path":91,"stem":92,"icon":93},"Aliases and cooldowns","\u002Fcommands\u002Faliases-and-cooldowns","4.commands\u002F2.aliases-and-cooldowns","i-lucide-sliders-horizontal",{"title":95,"icon":96,"path":97,"stem":98,"children":99,"page":30},"Dashboard","i-lucide-layout-dashboard","\u002Fdashboard","5.dashboard",[100,105,110,115],{"title":101,"path":102,"stem":103,"icon":104},"Overview","\u002Fdashboard\u002Foverview","5.dashboard\u002F1.overview","i-lucide-home",{"title":106,"path":107,"stem":108,"icon":109},"Admin panel","\u002Fdashboard\u002Fadmin-panel","5.dashboard\u002F2.admin-panel","i-lucide-shield",{"title":111,"path":112,"stem":113,"icon":114},"Stats","\u002Fdashboard\u002Fstats","5.dashboard\u002F3.stats","i-lucide-bar-chart-3",{"title":116,"path":117,"stem":118,"icon":119},"Viewer rewards","\u002Fdashboard\u002Fviewer-rewards","5.dashboard\u002F4.viewer-rewards","i-lucide-sparkles",{"title":121,"icon":122,"path":123,"stem":124,"children":125,"page":30},"Reference","i-lucide-book-open","\u002Freference","6.reference",[126,131,136,141],{"title":127,"path":128,"stem":129,"icon":130},"Ports and environment","\u002Freference\u002Fports-and-env","6.reference\u002F1.ports-and-env","i-lucide-network",{"title":132,"path":133,"stem":134,"icon":135},"Files and data","\u002Freference\u002Ffiles-and-data","6.reference\u002F2.files-and-data","i-lucide-folder",{"title":137,"path":138,"stem":139,"icon":140},"Troubleshooting","\u002Freference\u002Ftroubleshooting","6.reference\u002F3.troubleshooting","i-lucide-life-buoy",{"title":142,"path":143,"stem":144,"icon":145},"Credits and license","\u002Freference\u002Fcredits","6.reference\u002F4.credits","i-lucide-heart",{"id":147,"title":43,"body":148,"description":379,"extension":380,"links":381,"meta":382,"navigation":383,"path":44,"seo":384,"stem":45,"__hash__":385},"docs\u002F2.obs\u002F2.moving-the-widget.md",{"type":149,"value":150,"toc":368},"minimark",[151,155,166,204,207,212,218,222,225,239,320,327,331,336,345,349,365],[152,153,154],"p",{},"Mods, and any viewers you whitelist, can move the widget from Twitch chat, which is useful when\nit covers something in the game.",[152,156,157,161,162,165],{},[158,159,160],"code",{},"!topright set"," and ",[158,163,164],{},"!bottomcenter set"," require an OBS WebSocket connection. Two steps, and only\nthe first is in OBS.",[167,168,170,175,186,190],"steps",{"level":169},"3",[171,172,174],"h3",{"id":173},"turn-the-websocket-server-on","Turn the WebSocket server on",[152,176,177,181,182,185],{},[178,179,180],"strong",{},"OBS → Tools → WebSocket Server Settings",", then ",[178,183,184],{},"Show Connect Info",".",[171,187,189],{"id":188},"paste-the-connect-info-into-the-dashboard","Paste the connect info into the dashboard",[152,191,192,193,195,196,199,200,203],{},"Open the ",[178,194,32],{}," step at ",[158,197,198],{},"http:\u002F\u002F127.0.0.1:3002"," (or run ",[158,201,202],{},"npm run setup"," if the bot is not\nrunning), paste the connect info, and pick your scene and the widget source from the dropdowns.",[152,205,206],{},"The scene and source lists come from OBS itself, so they are dropdowns on the dashboard rather\nthan names you type. Changing them later takes effect on the next command, without stopping the\nbot.",[208,209,211],"h2",{"id":210},"who-can-move-it","Who can move it",[152,213,214,215,185],{},"Mods always can. Viewers who are not mods go in ",[178,216,217],{},"Admin Panel → Settings → Whitelist",[208,219,221],{"id":220},"the-two-presets","The two presets",[223,224],"presets-diagram",{},[226,227,228,229,161,232,235,236,238],"note",{},"The names are labels only. ",[158,230,231],{},"!topright",[158,233,234],{},"!bottomcenter"," are two positions you can set\nanywhere, so ",[158,237,160],{}," can be the bottom left.",[240,241,242,258],"table",{},[243,244,245],"thead",{},[246,247,248,252,255],"tr",{},[249,250,251],"th",{},"Command",[249,253,254],{},"Who",[249,256,257],{},"What it does",[259,260,261,278,293,307],"tbody",{},[246,262,263,272,275],{},[264,265,266,268,269],"td",{},[158,267,160],{}," \u002F ",[158,270,271],{},"!tr set",[264,273,274],{},"Mods",[264,276,277],{},"Save the widget's current position as the first preset",[246,279,280,287,290],{},[264,281,282,268,284],{},[158,283,231],{},[158,285,286],{},"!tr",[264,288,289],{},"Mods and whitelisted viewers",[264,291,292],{},"Move the widget to that preset",[246,294,295,302,304],{},[264,296,297,268,299],{},[158,298,164],{},[158,300,301],{},"!bc set",[264,303,274],{},[264,305,306],{},"Save the second preset",[246,308,309,316,318],{},[264,310,311,268,313],{},[158,312,234],{},[158,314,315],{},"!bc",[264,317,289],{},[264,319,292],{},[152,321,322,323,326],{},"Both presets also have buttons in the theme editor, under ",[178,324,325],{},"Place in OBS",", so you can place the\nwidget without using chat. That section is always in the editor's settings panel.",[208,328,330],{"id":329},"positions-are-per-theme","Positions are per theme",[152,332,333,335],{},[158,334,271],{}," on one theme does not affect another. Switching theme, by hand or because the OBS\nscene changed, puts the widget back where that theme was positioned.",[152,337,338,339,341,342,344],{},"You do not have to use the commands at all. queueify remembers where each theme's widget last\nwas on the canvas, so dragging it into place in OBS survives switching theme and switching back.\n",[158,340,286],{}," or ",[158,343,315],{}," overrides that with the position you saved.",[208,346,348],{"id":347},"when-a-saved-position-stops-working","When a saved position stops working",[152,350,351,352,355,356,359,360,268,362,364],{},"A saved position survives a theme being ",[178,353,354],{},"resized",". It does not survive a theme changing\n",[178,357,358],{},"shape",": it no longer fits the space it was set in, so queueify keeps it in the same corner at\na size you did not choose. The editor warns you and asks you to run ",[158,361,271],{},[158,363,301],{}," again\nonce the layout is final.",[226,366,367],{},"A position is stored as a rectangle, not a scale. A scale is only meaningful against the source\nsize it was measured at, and that size changes with every theme.",{"title":369,"searchDepth":370,"depth":370,"links":371},"",2,[372,374,375,376,377,378],{"id":173,"depth":373,"text":174},3,{"id":188,"depth":373,"text":189},{"id":210,"depth":370,"text":211},{"id":220,"depth":370,"text":221},{"id":329,"depth":370,"text":330},{"id":347,"depth":370,"text":348},"Set up !tr and !bc so mods can reposition the widget from chat.","md",null,{},{"icon":46},{"title":43,"description":379},"VNdhev5ZJ_3pEqf9Om9UlAlcRKBfOBQBhi9Q_DBSS64",[387,389],{"title":38,"path":39,"stem":40,"description":388,"icon":41,"children":-1},"Adding the widget to OBS, and how queueify sizes it.",{"title":48,"path":49,"stem":50,"description":390,"icon":51,"children":-1},"Switch widget theme automatically when OBS changes scene.",1793653501477]