Lesson 1 of 5
UGC and avatar items: layered clothing and accessories
Make avatar items for Roblox, from Marketplace eligibility and fees to cages, layered clothing, Blender export and the Accessory Fitting Tool, by building a hi-vis vest for Beacon Yard's crew.
By the end you can
- Check whether an account may upload and sell avatar items, and what it costs, against the current Marketplace policy
- Explain rigid and layered accessories, and what the inner and outer cages do
- Take a layered jacket from Blender through the Accessory Fitting Tool to an Accessory that passes a structural check
- Sell an avatar item inside Beacon Yard and say who earns what from each sale
Before this: From Blender to Roblox: FBX, the Importer and MeshParts
Step 1 of 11
A vest for the yard crew
Picture the yard at dusk: walls of diamond plate, six gold pads, a cyan beacon. Every player who joins wears whatever their avatar already has on. A real work yard hands out hi-vis vests. In this lesson you make one: a copper vest with a reflective stripe that fits any avatar body, over any shirt the player already wears, and that Beacon Yard could sell.
That vest is UGCUGC (user-generated content)Avatar items made by creators outside Roblox and sold on the Marketplace or inside games.Think of it as merchandise an independent maker sells through Roblox's shop., user-generated content: an avatar item a creator outside Roblox made, uploaded and sells on the Marketplace or inside a game1. This lesson is an optional deep path. It builds on the Blender lessons, and nothing in it changes how Beacon Yard plays.
The yard vest has to stretch over whatever shirt a player already wears, on any body shape. What kind of avatar item is it?
Press 1 to 4 to choose, Enter to check.
Step 2 of 11
Who may sell, and what it costs
Making items is free. Selling them is not open to every account. The Marketplace policy, checked on 2026-11-25, says2:
- Upload from Studio or the Creator Dashboard: the account (or group) needs government ID verification, or a linked parent account that has it. Each upload pays a fee.
- Publish (put on sale): ID verification, 2-step verification, a publishing advance, and the creator or group owner needs Roblox Plus or Premium 1000 or 2200.
- Keep on sale: the Plus or Premium membership has to stay active.
The fees page lists a standard upload fee of 80 Robux per submission, 500 for items with an emissive mask, and it is not refunded if moderation rejects the item3. The publishing advance is paid when you put an item on sale and is refunded to you out of Roblox's share of later sales. Current per-type advances live in Roblox's pricing calculator (create.roblox.com/dashboard/creations/pricing, linked from the fees page) because they can change over time; as a worked example, a non-limited jacket has been 600 Robux and a hat 1500. Check the calculator before you publish.
In the docs' worked example, an item sells inside a game for 400 Robux. The creator earns a 30% commission (120), the game owner earns 40% (160), and Roblox's 30% (120) is paid back to the creator until the advance is recouped. When the advance is paid off, only that rebate stops. Both commissions carry on for every sale.
You put the yard vest on sale as a non-limited jacket (publishing advance 600 Robux) and sell it inside Beacon Yard for 400 Robux. Each sale pays you back Roblox's 30% share until the advance is recouped. How many sales recoup it?
Step 3 of 11
Rigid or layered
Two families of accessories
- Rigid accessories do not bend. A hat, a backpack or a pair of goggles is welded to one attachment point on the body and keeps its shape.
- Layered accessories (layered clothing) stretch and fit. A jacket follows the torso, bends at the elbows, and sits on top of the shirt underneath. In Studio, the stretching comes from a
WrapLayerinside the item4.
Both share the same rules for size and attachments. Each accessory has an Attachment whose name tells the engine which body point it belongs to. The layered specification lists BodyFrontAttachment for tops (shirt, T-shirt, sweater, jacket) and WaistCenterAttachment for bottoms (pants, shorts, dress or skirt)5. Rigid hats use HatAttachment. The fitting tool adds the right one for you, but a validator (the level 3 challenge) has to know the table.
Match each accessory type to the attachment it uses.
MapBuilder attaches the beacon's mesh model by welding every part of it to the CrystalAnchor part, with collisions off. Which avatar item family is attached the same way?
Press 1 to 4 to choose, Enter to check.
Step 4 of 11
Cages: how clothing knows the body
| In the picture | In Roblox |
|---|---|
| The dummy the vest was pinned on | The inner cage: the body shape the item was fitted to |
| The vest's own outside, where a coat will rest | The outer cage: what the next layer wraps onto |
| Refitting the vest to a new customer | The engine moving the inner cage onto the wearer's outer cage |
A layered item carries two invisible meshes called cagesCage meshA hidden mesh that defines the inner or outer surface of a layered item.Think of it as the dummy a garment was fitted on, and the shape the next garment sees.. The inner cage is the surface the item wraps onto: the shape of the body it was fitted on. The outer cage is the surface the next item wraps onto: the shape of the vest as seen by a coat worn over it. At run time the engine moves the inner cage onto the wearer's outer cage and drags the visible mesh along.
Think of it as The tailor's dummy in the yard workshop
Roblox ships template cages inside its Blender and Maya project files, and the rules are strict5:
- The inner cage is named after the item with
_InnerCageadded, the outer one with_OuterCage. - The outer cage starts identical to the inner cage. You adjust only the outer cage, outward, until it covers your mesh.
- Never delete cage vertices or change their UVs. The engine matches cages to each other by those coordinates.
Which of these are true for the yard vest's cages?
Press 1 to 4 to choose, Enter to check.
Step 5 of 11
Where the dummy picture breaks
Both sidesRemember: Cage meshes on layered clothing is the tailor's dummy in the yard workshop.
The dummy picture explains why the inner cage exists. It hides how the fit is computed. Try the question before you open the breakdown.
Where does it break?“The tailor's dummy in the yard workshop” is a good picture of cage meshes on layered clothing. Where does it stop being true?
It breaks here. A dummy is just a shape, but a cage is a numbered list of points the engine pairs with the template cage. Delete or renumber points and the pairing, validation and fit all break.
The true model. Layered fitting maps each inner-cage vertex to the matching vertex of the surface below (body or previous layer) and deforms the visible mesh with it. That only works when the cage keeps the template's vertices and UVs.
To save time you delete the cage vertices around the vest's missing sleeves. What happens?
Press 1 to 4 to choose, Enter to check.
Step 6 of 11
Model, cage, rig and export in Blender
The free default is Blender with Roblox's project files6, which contain mannequins, template cages and an R15 armature. The budgets for a layered top: one mesh, at most 4,000 triangles, watertight, no larger than 8 x 8 x 8 studs, textures up to 2048 x 2048, and no more than 4 bone influences per vertex5.
Build along
Download the layered accessory project files and open the Rthro Normal mannequin with cages in Blender.
You should see The mannequin, its template cages and the R15 armature appear in the Outliner.
Model the vest over the mannequin's torso: a simple shell with arm holes and a stripe. Turn on Viewport Overlays > Statistics to watch the count.
You should see The statistics overlay shows fewer than 4,000 triangles for the vest mesh.
Parent the vest to the R15 armature with Automatic Weights, then clean up the weights around the shoulders.
You should see Posing the armature bends the vest with the body, with no vertex weighted to more than 4 bones.
Duplicate the template cage pair, rename them
YardVest_InnerCageandYardVest_OuterCage, and push only the outer cage outward until it covers the vest.You should see The outer cage sits just outside the vest everywhere; the inner cage is untouched.
Export with File > Export > FBX: Path Mode Copy with Embed Textures on, Apply Scalings FBX Unit Scale, and Add Leaf Bones off7.
You should see A YardVest.fbx file with the texture embedded.
Step 7 of 11
Which tool for clothing
Other ways pros do this
| Option | What it is | When pros pick it | Trade-offs |
|---|---|---|---|
| Blender | Free, open-source modelling, rigging and export. | The default for Roblox UGC. Roblox's tutorial and project files target it, and most solo UGC creators use it. | Cloth folds are modelled by hand or sculpted, which takes skill for realistic garments. |
| Maya | Autodesk's commercial modelling and animation suite. | Studios with Maya pipelines. Roblox ships Maya project files and export settings too. | Paid licence; the community tutorials are mostly Blender. |
| Marvelous Designer | Commercial garment software: you draw sewing patterns and it simulates real cloth. | Realistic jackets, dresses and folds. Many top layered-clothing creators drape here, then finish in Blender. | Its meshes are dense and triangulated: you retopologise to the 4k budget, then cage, rig and export in Blender or Maya. It has a free trial, then a paid plan. |
| ZBrush or Blender sculpting | High-detail sculpting, baked down to a normal map. | Stylised detail such as wrinkles and stitching on a low-poly mesh. | An extra bake step; the detail lives in textures, not geometry. |
You drape the vest in Marvelous Designer. What do you still have to do before Roblox will accept it?
Press 1 to 4 to choose, Enter to check.
Step 8 of 11
The Accessory Fitting Tool
In Studio, the Accessory Fitting ToolAccessory Fitting ToolStudio's tool that tests a model as an accessory and generates the Accessory object.Think of it as a fitting room with a rack of bodies, clothes and animations. (AFT) turns your imported model into a real Accessory8. It previews the item on several bodies, with other clothing and with animations, lets you nudge the cages, then builds the right hierarchy, sets AccessoryType and adds the body attachment.
Before you upload, Marketplace validation also enforces four structural rules on the generated Accessory5:
- The visible mesh child must be named
Handle. Handle.Materialmust bePlastic(notNeonor another material).Handle.Transparencymust be0(andVertexColorleft at the default1, 1, 1).- The
Accessorymust contain no extraneous objects such as scripts (Script,LocalScript,ModuleScript) or extraBaseParts.
The fitting tool previewing a layered vest. The pins mark the body and clothing catalogue, the cage edit tools and Generate.
Put the steps from Blender file to a finished Accessory in order.
- Open Avatar > Accessory and select the vest's model
- Import it into Studio as a model
- Choose Clothing, the Jacket type and the body scale
- Generate the Accessory
- Test it on other bodies, clothing and animations, and fix the cage
- Export the FBX with embedded textures and no leaf bones
Step 9 of 11
Selling the vest inside Beacon Yard
An avatar item can be sold inside a game, not only in the Marketplace. The item's creator adds the game's start place id to the item's sale locations, and the game owner enables the item under Monetization > Avatar Items. If they are the same account, Roblox enables it automatically1. Then each sale in the game pays the game owner's affiliate share.
In Beacon Yard the vest's asset id would follow the rule every account number follows: it lives in src/shared/Ids.luau as 0, the learner's real number goes in the git-ignored Ids.local.luau, and code turns it into a content string with Ids.asset:
function Ids.asset(id: number): string?
if id <= 0 then
return nil
end
return string.format("rbxassetid://%d", id)
You add YARD_VEST_ASSET_ID = 0 to Ids.luau and the shop calls Ids.asset(Ids.YARD_VEST_ASSET_ID). What should the shop do on a fresh clone?
Press 1 to 4 to choose, Enter to check.
A player buys your vest from Beacon Yard's shop for 400 Robux, and Beacon Yard is your own game. Using the docs' commission split, how much reaches you before any advance rebate?
Press 1 to 4 to choose, Enter to check.
Step 10 of 11
Challenges
Level 1, Apprentice
Challenge
Import one of Roblox's caged reference items and put it through the fitting tool's tests. Do not publish anything.
- Start from
- Any place in Studio
Done means
- A reference layered item from Roblox's project files is in the place
- It was previewed in the fitting tool on at least three bodies and one animation
- You wrote down one fit problem you saw and which cage you would change
Meet the criteria above, then record your own result. No test grades this check.
Level 2, Builder
Challenge
Build the yard vest from this lesson end to end, as far as a generated Accessory in Studio. Uploading is optional and costs Robux.
- Start from
- Blender and Roblox's layered accessory project files
Done means
- The vest is one mesh under 4,000 triangles, weighted to the R15 armature
- Its cages are named YardVest_InnerCage and YardVest_OuterCage, with no vertices deleted
- The fitting tool generates a Jacket accessory with a WrapLayer and BodyFrontAttachment
- It fits over a default shirt on at least two bodies
Meet the criteria above, then record your own result. No test grades this check.
Why run your own checks and the fitting tool's tests before uploading?
Press 1 to 4 to choose, Enter to check.
Level 3, Professional
Challenge
Start from the m14-ship tag in the game repo, then write a pre-upload check from the specifications in this lesson. The test builds good and broken accessories in memory, so no mesh or upload is needed. Run it from the command bar with game.ServerScriptService.RunGameTests:Invoke("ugc-avatars").
- Start from
- The game at milestone m14 (download)
- Grade it
- In Studio, press Play, then run
game.ServerScriptService.RunGameTests:Invoke("ugc-avatars")in the server command bar. Copy the pass code from Output.
Done means
- challenges/work/accessory_check.luau returns no problems for a good layered jacket and a good rigid hat
- It reports a missing WrapLayer, the wrong attachment for pants, a Neon or transparent handle, and a script or extra part
- The ugc-avatars challenge prints TEST PASS for all seven checks
For the level 3 challenge, which file in the game repo do you edit?
Press 1 to 4 to choose, Enter to check.
Step 11 of 11
Recap
Retiring the analogy
You no longer need “the tailor's dummy in the yard workshop”. Layered fitting maps each inner-cage vertex to the matching vertex of the surface below (body or previous layer) and deforms the visible mesh with it. That only works when the cage keeps the template's vertices and UVs.
Recap
- Uploading needs ID verification and a fee; publishing also needs 2-step verification, a publishing advance and Roblox Plus or Premium.
- Layered clothing has a mesh, R15 weights and two cages; edit only the outer cage, outward, and never delete cage vertices.
- Blender is the default tool, Marvelous Designer drapes realistic cloth, and the Accessory Fitting Tool turns the import into a tested Accessory you can sell inside Beacon Yard.
Cage meshes on layered clothing is the tailor's dummy in the yard workshop, until a dummy is just a shape, but a cage is a numbered list of points the engine pairs with the template cage. Delete or renumber points and the pairing, validation and fit all break.
Queued for review
- The yard vest has to stretch over whatever shirt a player already wears, on any body shape. What kind of avatar item is it?
- To save time you delete the cage vertices around the vest's missing sleeves. What happens?
- You add YARD_VEST_ASSET_ID = 0 to Ids.luau and the shop calls Ids.asset(Ids.YARD_VEST_ASSET_ID). What should the shop do on a fresh clone?
- A player buys your vest from Beacon Yard's shop for 400 Robux, and Beacon Yard is your own game. Using the docs' commission split, how much reaches you before any advance rebate?