I’m excited to share my very first plugin for Roblox Studio: UI Swapper!
What does it do?
UI Swapper allows you to easily convert one UI element into another while keeping their properties intact. For example:
Frame to Scrolling Frame? it will replace Frame that you selected with a Scrolling frame with exact same properies. And it can do so with any object from this list:
- Frame
- Scrolling Frame
- Canvas Group
- Image Button
- Image Label
- Text Box
- Tex Button
- Text Label
Be cearful, scince it can replace any object, even scripts or other valuable files, and despite having an Undo function it`s still important to be aware.
How it works
- Select any UI object(s) in your game.
- Choose the target type you want to convert them to.
- Click a button, and voilà – your UI is swapped, with its properties preserved wherever possible!
Settings
There are two features that can be turned on and off in this plugin to make using it more comfortable:
Auto select: as long as this setting is on, whatever you swap will remain selected. (Set to “On” by default)
Ignore active: I found it frustrating and unintuitive that whenever you swap, for example, Image Label to Image Button, “Active” property remains at “False” so I added the feature to ignore initial “Active” property. (Set to “On” by default)
Testing Mode
Since this is my first plugin, it’s still in the testing phase. I’ve tested it to ensure it’s stable, but there might be a few bugs lurking around. If you find any, I’d really appreciate it if you could let me know so I can fix them!
Why I made this plugin
I often found myself needing to switch between UI types—especially when inexperienced scripters would use, for example, a TextBox instead of a TextLabel in their UI. Recreating objects and reapplying properties every time was a tedious and time-consuming process. So, I thought, why not make a tool to simplify this? And here we are!
Updates
18.01.25
- Fixed an issue where the
Zindex
property was not transferred for Frames
20.01.25
- Added the “Ignore Name” setting
- Fixed an issue where objects were incorrectly swapped with Text Label instead of Text Box.
Try it out!
You can find the plugin →Here←
I’d love to hear your feedback! What features should I add? How can I make this tool even better? Let me know your thoughts!