Picture

Twitch

OBS

StreamerBot

Table of contents

  1. Description
  2. Import Code
  3. OBS Move Plugin (optional)
  4. Setup
  5. Settings
  6. Changelog

Description

Set a source of your choice to a random position on your canvas without it sticking out the borders.

Regular positioning vs. Move positioning

Picture Picture


Import Code

U0JBRR+LCAAAAAAABADVXGmP4kiT/r7S/gfU+2VX79DjE/Bo35WAKsCuguriMnh79MrONLYLHwzmKNdo/vtG+gBfFBRFa3pbQl0405mRT0Q8EZlk5p///m+VyhdH36hffqv8Sb7AV1d1dPj6Zai62HMqT61RZeRt10ivfPN8a2N57pdf4qrqdmN6a1J5o+4dVT8U7PS1TypCCf2V+kofCrDuo7W12sSFoutv1ltEvvq/VczNZuX/9uuvUWNfDWtjbrWvlvfrOhTlX34oxr9WsRhfzY1jp2Xxhlu3ieK23a1tJ2WO5VrO1pkepCKFpOyvsMYXrGYQUCOB4Mn/Rk8qSVFYbGEiOmLo2gKxjSrPM3qVayBcbag6XeV0rqHXFgtOZQ94hK/9sdW3elaw8LnuqpqtkzYBCj1T8orsLdY7a8/pWf7GWwdQaaHafqbW5foKqxtrb7v6QH3V3quBD8iW9R0p5oB5oRx5Ltqu17q7KSvdrC3DAJ2kgc6BHVmTurYIRqTin3/9kiuN1CHU6RpLq7UqzfK1KseielXT1UVVozlKrSGeYbD2Jf/qJlgR6OoUky85qZSjYvzERn5Pl/51/PJ7BsaiTZUN9WPKDF/JuVShfK0vdNAA0gudh8Xt375/ly3obe9//9630NrzvcXm6+B+/P17Zw3i7L31ssZ9/77jwJNZiqWF798dH3lr29K+Ytv+km3y93z/WrDR2x4Oh4Vng5XmIGPC2m+4O9087amH5NnYmbK4K2wRIzi4zT/A/9vH5etKc+/rd8/eoO226LnzupoHrRet23lDQetucm9KGjzTnAmU+4O21TTEdmuPZclX5b4xd4Sd1m519O70Bc+G9kN7mdQhbcL/zehzP3getfkJcu2eMhu2kIM80REsRA12msPbc3a40hjOemy3dnj2bKgyT4ndTNmKjOXQXru1UqymJ07Cdr/N3Y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UPqVv6nUPsiXDV6ofMU2CfdEGpVjhOYqkBRQpWpMSq7EOrCola7Na4jfbOxXMO/ElvmI9jGgA31la0CVHtrY1YCgp2PdFevqC6uRIBX3DLEkWdHF3H9R4OiqE7nhJdz2qKuMkioUgsNrBPjerXBsGxV4FRB1Tieb2DuKhRBFT8KRuoTJkqwu8xCQ5Q/Y6BIwJym1sDdeYGrcjDLqKoIoOUamF9gtqHW9aIYf6+Bfsj5Y7wm/la17aBi6xBZKhvT8iueW6GuNci6VucEQderda6+qHILrlbVdJqv1nCdrWGK03GtcXOD/ARffsgYD5Dplb4HaMU0+J9eeFmXav9SWet/bK217kflK3trWO5/XYslrwkYCXW+qlN0HbDEbLWxqANPIgazOkIqzwg/m3N/Ioo7AFmE6EnvLk2JLvJmiqIbSKOpKruAIMMtaL0qNHimilSO4jid1VRd/cm8mbsFlHck++wXRUgQBQO8Ck+mwTE1HdhxwekMpJeCXtU4nYdss8bzDBZYlqv/ZHjyV7g69iqut6lsvC0ygRz1CgKqqWxdW/d9Es4rS9fbV/amugm/qWu9gj2Q8R2X73TA54v8GsdzTDHg6EJVXaBGlVM1XBUWiK7iRQNTOt1oUIj9mejzmpRo9zVzhWgRohPYoDqDEK3VqzRWIbTwjFoVagxd1Tm8ANBYlavhm2Nzk7Dy7hWSXdLV2XskY69jKJplqVoV0YhMRuosuRQTJnVMg67r/IIR6KJlvQdBcj3lSdeKLgQ9Rb1XJB6xLnVI/rW6Vl3QKsxOBV6vqhimVizDI4rRYGIgfCz7TwZSasuXDYK5RGdgpLa68nVcrrYvWGUWGNUhztRZMFK6xlcFVhCqOmYaPMtDDoQXWfkuwyIlTvJnLGIiXnQfbXSBafIIeY4DY88+3Oua76Glvhnp6118W2uxsG1burvJFm4sJ6lPnsSX7R7vBqYjtXzRX1feeqNjctFtGHy/Ml/jaUjx6t6oFOx4o34l4/zr/wBIuSbHxVgAAA==

OBS Move Plugin (optional)

  • Move Plugin (If you don’t want a smooth animation on the random position, you can skip this)

Setup

  1. Copy the import code from above and import the content

    Import Actions

  2. Done! 🥳


Settings

  • Replace sceneName with the name of your scene and sourceName with the name of your source

    Picture

  • Optional: if you have the OBS Move Plugin installed, you can set moveSource to True and it will then randomly move the source in a fluent animation. You can also set the transition time.

    Picture

  • Either assign any trigger you want to the action or use a Core -> Actions -> Run Action subaction in a different action to randomize the source’s position


This action already accounts for (inactive) video sources, positional alignment and horizontal/vertical flipping. Rotation however is not accounted for and may result in glitching out the edges.


Changelog

Date Changes Version
September 8, 2024 Updated Move plugin check, added debugging 1.0.1
August 16, 2024 Updated to Streamer.bot version 0.2.4 1.0.0