Hey Developers,
Customizing a Roblox avatar is a way for players to express themselves and recognize others. We want to enable players to see the items that make up each unique avatar in a game with them - by inspecting! Meet the Inspect Menu:
As of earlier this week, the Inspect Menu lets players in a game see a list of items that another player is wearing on their avatar on Roblox. From there, players can see an item’s details, try it on, favorite it for later, and even buy it.
This feature is enabled by default. This is not just because we want to encourage social and organic discovery of new Catalog items - it is also a new revenue stream for developers. Like other in-game commissions, the developer of the game earns 10% of each purchase made in the Inspect Menu. If you are the developer of a social-focused game, this feature is a great way to passively monetize.
See the Developer Hub article here for more information about how it works and what you can do with it.
If you do decide this is not a good fit for your game, you can call GuiService:SetInspectMenuEnabled()
with a value of false
to make the default profile-based Inspect Menu inaccessible.
We hope the Inspect Menu will help users easily find Catalog content that they love. Feel free to leave thoughts and questions below.
Thanks,
The Roblox Team
–
A few fun facts from the upcoming Developer Hub article…
- Note that limited items cannot be purchased from the Inspect Menu, as users should be given an opportunity to see all resellers and options before purchasing. Also, animations cannot currently be “tried on” through the menu.
- By default, the Inspect Menu is accessible via the escape menu, the player list, and the Avatar Context Menu.
- Call
GuiService:SetInspectMenuEnabled()
with a value offalse
to make the default profile-based Inspect Menu inaccessible. - Call
GuiService:InspectPlayerFromHumanoidDescription()
, providing aHumanoidDescription
which represents what the player is wearing, along with the unique player name to inspect.
local humanoid = player.Character and player.Character:FindFirstChild("Humanoid")
if humanoid then
local humanoidDescription = humanoid:GetAppliedDescription()
GuiService:InspectPlayerFromHumanoidDescription(humanoidDescription, player.Name)
end
- The Inspect Menu can also be used to inspect players who aren’t in the current game. This is done through
GuiService:InspectPlayerFromUserId()
which accepts theUserId
of any player.
GuiService:InspectPlayerFromUserId(userId)