rojo/.cursor/rules/roblox/reference/engine/classes/Folder.yaml
2026-02-02 12:08:47 -06:00

33 lines
1.2 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: Folder
type: class
memory_category: Instances
summary: |
A simple container used to hold and organize Roblox instances.
description: |
A simple container used to hold and organize Roblox instances. Unlike other
container classes like `Class.Model`, a folder generally offers no additional
functionality. Folders behave the same way as folders in a computer file
system, meaning they can also be parented to each other.
#### Usage in UI Hierarchies
Each `Class.Folder` in your UI hierarchy can define its own `Class.UILayout`
(`Class.UIListLayout`, `Class.UIGridLayout`, `Class.UIPageLayout`,
`Class.UITableLayout`), or use a default position-based layout. For example,
you can set up a `Class.Frame` with multiple `Class.Folder` children, each
with a different `Class.UILayout` type. Additionally, `Class.Folder` contents
are exempt from the effects of a `Class.UILayout` sibling.
code_samples: []
inherits:
- Instance
descendants: []
tags: []
deprecation_message: ''
properties: []
methods: []
events: []
callbacks: []