Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Category

7GrandDadPGN edited this page Dec 21, 2024 · 1 revision

Category

Example

local category = vape:CreateCategory({
	Name = 'Combat',
	Icon = getcustomasset('newvape/assets/combaticon.png'),
	Size = UDim2.fromOffset(13, 14)
})

Parameters

Name Type Required Description
Name string Yes The name used for the category, indexing it with vape.Categories.CategoryName
Icon string Yes A rbxasset path used for the icon of the category
Size UDim2 Yes The size of the icon used in the categroy

Methods

Name Returns Description Example
Expand None Toggles the collapsed state of the category category:Expand()

Properties

Name Type Description
Expanded boolean The current expanded state
category.Expanded
Children Instance A frame where you can parent gui objects inside
Object Instance Returns the category tab object that displays onscreen
component.Object
Clone this wiki locally