How to reuse pixel art with components
Games repeat their art: the same tree in every forest, the same crate in every room, the same button on every screen. Components let you draw that art once. Save an artboard as a component, place linked copies of it in your levels and mockups, and when you change the master, every copy changes with it. A copy that needs to be different can be detached and edited on its own.
Components are part of the pixel art editor: they use no AI and no credits. The screenshots below are the real editor, with trees and buildings from the MagicPixel asset library.
Updated
When to use a component
- Props and scenery that repeat: trees, rocks, crates, torches.
- UI pieces that appear on many screens: buttons, frames, icons.
- Buildings and tiles you place in level mockups.
- A character or enemy you stage in several scenes.
If you know Unity's prefabs, a component is the same idea for your art: one source, many linked copies. If a piece will look different everywhere you use it, a plain copy is simpler.
1. Save an artboard as a component
Draw the piece on its own artboard, at the size you will use it. Right-click the artboard and choose Save Artboard as Component (⌥⌘K on a Mac, Ctrl+Alt+K on Windows). That artboard becomes the component's master: its label gets the component icon, and the component appears in the Components tab of the sidebar, beside Files and Assets, in the project you have open.

An artboard with more than one animation frame can't be saved as a component yet.
2. Place copies in your levels
Drag the component from the Components tab onto the canvas. It lands as a linked copy on its own artboard. Then drag that copy by its label into a level, so the whole copy sits inside the level's edges: it becomes a linked layer of the level, right where you let go. Place as many copies as you like.

Two quicker ways put a copy in the middle of the artboard you have selected: press Shift+I for Quick Insert and pick the component, or copy a copy's artboard (⌘C) and paste it (⌘V). If the component is larger than the selected artboard, Quick Insert places it on an artboard of its own instead.
3. Edit the master, and every copy updates
Select the master and draw on it like any artboard, or open it from the Components tab: click the component, or right-click it and choose Open Master. About two seconds after each change, the master saves itself to your library, and every copy updates: in the file you are working in straight away, and in other files as soon as you open them. There is no publish step, and ⌥⌘K on a master saves it at once.

Renaming the master's artboard renames the component, and its copies take the new name with the same update.
4. Detach a copy to make it unique
To make one copy different, right-click its layer in the Layers panel and choose Detach Component. It becomes ordinary pixels you can paint, recolour or change with AI, and the other copies stay linked. On the canvas, Detach from Component in an artboard's right-click menu detaches every copy of that component on the artboard at once.

Want the new version to be reusable too? Save it as a component of its own.
What updates, and what doesn't
- A linked copy always shows the master. Paint on a copy only after you detach it: the next change to the master replaces a copy's pixels.
- A copy keeps its place in the level. If the master grows too large for the spot where a copy sits, that copy keeps the last version that fit; place a new copy to get the larger one.
- Moving a component to Trash detaches its copies. They keep their pixels and stop updating.
- Art from the Assets tab comes in as plain artboards with no link. Save a piece as a component if you want to reuse it linked.
Components fit anywhere in the game asset workflow: build the pieces once, stage them in mock levels, and keep every copy current while the art changes.
Troubleshooting
- The new component isn't in the Components tab
- Components are filed in the project that was open when you saved them. Switch to that project in the project menu.
- Dropping a copy on a level opened Merge with AI
- The copy wasn't fully inside the level. Close the dialog, which spends nothing until you run it, and drag the copy by its label again so its whole outline sits inside the level.
- A copy didn't update
- Give the master two seconds after an edit, and open the file that holds the copy. A copy whose spot can't fit the master's new size keeps its last version: place it again.
- What I painted on a copy disappeared
- The master's next update replaced it. Detach a copy before you paint on it, or make the change on the master.
- Save Artboard as Component is missing from the menu
- Select a single artboard. The item is hidden while several artboards are selected or the artboard has more than one animation frame.
Questions
- What is a component in MagicPixel?
- A component is art you reuse: one master and any number of linked copies. Change the master and every copy updates by itself, in every level and file that uses it, much like a prefab in a game engine.
- Do components use AI or credits?
- No. Saving, placing, editing and detaching components are editor features. They use no AI and no credits.
- How do I change one copy without changing the others?
- Detach it: right-click its layer in the Layers panel and choose Detach Component. It becomes ordinary pixels you can edit, and the other copies stay linked to the master.
- What happens to the copies if I delete the master?
- Moving a component to Trash detaches its copies. Each one keeps its pixels where it is and stops updating.
- How is a component different from copy and paste?
- Copy and paste of ordinary art makes independent copies. A component's copies stay linked to the master, so one edit to the master updates all of them.
- Can a component be animated?
- Not yet. An artboard with more than one animation frame can't be saved as a component.
