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.

Tool lesson, about 75 minutes, 11 steps

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

1A 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?

  1. A layered accessory (layered clothing) with the Jacket type
  2. A rigid accessory attached at the hat point
  3. A classic 2D shirt image
  4. A MeshPart welded to the character by a server script
Answer

A layered accessory (layered clothing) with the Jacket type. Layered accessories wrap around the body and over other clothing. A vest that goes over a shirt is layered clothing, and Jacket is the closest accessory type.

Open this step in lesson mode · Link to this step · This confused me

2Who 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?

Answer

5 sales. Each sale rebates 120 Robux. 600 / 120 = 5 sales. After that the rebate ends and you keep your own 30% commission on each sale. The 40% game owner commission continues too, and it goes to you as well if you own Beacon Yard.

Open this step in lesson mode · Link to this step · This confused me

3Rigid 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 WrapLayer inside 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.

  1. Jacket (the yard vest)
  2. Pants
  3. Hat
  4. Back (a tool pack)
Answer

Jacket (the yard vest): BodyFrontAttachment; Pants: WaistCenterAttachment; Hat: HatAttachment; Back (a tool pack): BodyBackAttachment. The specification names one attachment per type. Tops use BodyFrontAttachment, bottoms WaistCenterAttachment, hats HatAttachment and back items BodyBackAttachment.

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?

  1. Rigid accessories: one fixed connection to a body point, and the shape never bends
  2. Layered clothing: it wraps around the anchor
  3. Classic shirts: an image on the surface
  4. Neither; avatar items cannot be welded
Answer

Rigid accessories: one fixed connection to a body point, and the shape never bends. A rigid accessory is welded to one attachment and keeps its shape, like the beacon model on its anchor. Layered clothing instead deforms with the body through cages and a WrapLayer.

Open this step in lesson mode · Link to this step · This confused me

4Cages: how clothing knows the body

Both sidesCage meshes on layered clothing is the tailor's dummy in the yard workshop.
In the pictureIn Roblox
The dummy the vest was pinned onThe inner cage: the body shape the item was fitted to
The vest's own outside, where a coat will restThe outer cage: what the next layer wraps onto
Refitting the vest to a new customerThe engine moving the inner cage onto the wearer's outer cage

See the whole analogy cast

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 _InnerCage added, 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?

  1. The inner cage defines how the vest fits over the body
  2. The outer cage defines how a coat worn on top fits over the vest
  3. You push the outer cage outward until it covers the vest
  4. You can delete cage vertices the vest does not need, to save triangles
Answer

The inner cage defines how the vest fits over the body; The outer cage defines how a coat worn on top fits over the vest; You push the outer cage outward until it covers the vest. Inner cage: the body side. Outer cage: what the next layer sees, edited outward to cover the mesh. Deleting cage vertices breaks the matching, so you never do it.

Open this step in lesson mode · Link to this step · This confused me

5Where 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?

  1. Validation can fail, and if the item gets through, the engine can no longer match the vest's cage to bodies and other clothing, so it fits wrongly
  2. Nothing; cages are only a hint and the engine ignores missing vertices
  3. The vest becomes a rigid accessory automatically
  4. Studio re-adds the vertices when you press Generate
Answer

Validation can fail, and if the item gets through, the engine can no longer match the vest's cage to bodies and other clothing, so it fits wrongly. Cages are matched by vertex and UV coordinates against the template. Remove some and the pairing breaks: validation can reject the item, and bad fits are a moderation reason too.

Open this step in lesson mode · Link to this step · This confused me

6Model, 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

m06-drone-wrench

  1. 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.

  2. 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.

  3. 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.

  4. Duplicate the template cage pair, rename them YardVest_InnerCage and YardVest_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.

  5. 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.

Open this step in lesson mode · Link to this step · This confused me

7Which tool for clothing

Other ways pros do this

OptionWhat it isWhen pros pick itTrade-offs
BlenderFree, 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.
MayaAutodesk'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 DesignerCommercial 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 sculptingHigh-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?

  1. Retopologise it under the triangle budget, then cage, rig and export it in Blender or Maya
  2. Nothing; Marvelous Designer exports Roblox-ready accessories
  3. Upload the simulation file and let Studio rebuild it
  4. Convert it to a classic shirt image
Answer

Retopologise it under the triangle budget, then cage, rig and export it in Blender or Maya. Marvelous Designer gives realistic folds but a heavy mesh. The Roblox-specific work (4k budget, cages, R15 weights, FBX settings) still happens in Blender or Maya.

Open this step in lesson mode · Link to this step · This confused me

8The 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.Material must be Plastic (not Neon or another material).
  • Handle.Transparency must be 0 (and VertexColor left at the default 1, 1, 1).
  • The Accessory must contain no extraneous objects such as scripts (Script, LocalScript, ModuleScript) or extra BaseParts.

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.

  1. Open Avatar > Accessory and select the vest's model
  2. Import it into Studio as a model
  3. Choose Clothing, the Jacket type and the body scale
  4. Generate the Accessory
  5. Test it on other bodies, clothing and animations, and fix the cage
  6. Export the FBX with embedded textures and no leaf bones
Answer

1. Export the FBX with embedded textures and no leaf bones 2. Import it into Studio as a model 3. Open Avatar > Accessory and select the vest's model 4. Choose Clothing, the Jacket type and the body scale 5. Test it on other bodies, clothing and animations, and fix the cage 6. Generate the Accessory. Export, import, open the tool on the model, set the type, test and adjust, then generate. Generating last means the fixes you made in testing are baked into the Accessory.

Open this step in lesson mode · Link to this step · This confused me

9Selling 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)
Figure 9.1

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?

  1. Ids.asset returns nil for 0, so the shop hides or disables the vest and warns once with [Ids]
  2. Prompt a purchase for asset 0
  3. Error and stop the server
  4. Read the id from the place file instead
Answer

Ids.asset returns nil for 0, so the shop hides or disables the vest and warns once with [Ids]. Every Beacon Yard feature whose id is 0 switches itself off with one [Ids] warning, so the repository never ships anyone's real account numbers.

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?

  1. 280: 120 as the item's creator plus 160 as the game owner
  2. 120: only the creator's commission
  3. 400: all of it, since you own both
  4. 160: only the game owner's share
Answer

280: 120 as the item's creator plus 160 as the game owner. The creator commission is 30% (120) and the game owner's affiliate share is 40% (160). The same account earns both. Roblox's 30% goes to recouping the publishing advance first.

Open this step in lesson mode · Link to this step · This confused me

10Challenges

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

Hints

  1. The reference files include caged example items ready to import.
  2. Avatar tab, then Accessory, opens the tool. Select the model, then Next.
  3. Look at elbows and shoulders during a walk; that is where poor weights show.

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

Hints

  1. Start from the mannequin with cages, not an empty scene.
  2. Edit the outer cage only, and only outward.
  3. If the vest floats, check Apply Scalings on export before you touch the cage.

Why run your own checks and the fitting tool's tests before uploading?

  1. The upload fee is not refunded when moderation or validation rejects the item
  2. Uploading is free, so it only saves time
  3. Studio cannot upload items that were not checked
  4. The Marketplace requires a test report
Answer

The upload fee is not refunded when moderation or validation rejects the item. Each upload pays a fee, and a rejected item does not get it back. Checking first is cheaper than uploading twice.

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

Hints

  1. Read accessory.AccessoryType.Name and compare it with two small tables: tops and bottoms.
  2. FindFirstChildWhichIsA finds the WrapLayer and the Attachment inside the Handle.
  3. Walk GetDescendants once for scripts (LuaSourceContainer) and extra BaseParts.

For the level 3 challenge, which file in the game repo do you edit?

  1. challenges/work/accessory_check.luau
  2. challenges/ugc-avatars.luau
  3. src/shared/Ids.luau
  4. tests/init.luau
Answer

challenges/work/accessory_check.luau. The test file stays as it is. Learner files live in challenges/work/, and the test requires work/accessory_check.luau.

Open this step in lesson mode · Link to this step · This confused me

11Recap

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

  1. Uploading needs ID verification and a fee; publishing also needs 2-step verification, a publishing advance and Roblox Plus or Premium.
  2. Layered clothing has a mesh, R15 weights and two cages; edit only the outer cage, outward, and never delete cage vertices.
  3. 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.

Next Procedural generation: noise, seeds, chunking

Open this step in lesson mode · Link to this step · This confused me