---
title: "Folder"
description: "A hierarchy container with Explorer icon colour, visibility and collision controls for its descendants."
canonical: "https://docs.glorpia.com/instances/folder"
markdown: "https://docs.glorpia.com/instances/folder.md"
---
# Folder

A hierarchy container with Explorer icon colour, visibility and collision controls for its descendants.

**Category:** Instances

## Properties

| Name | Type | Description |
| --- | --- | --- |
| `Name` | string | Folder name. |
| `Parent` | Instance | Where the Folder sits in the hierarchy. |
| `IconColor3 / IconColour3` | Color3 / Colour3 | Tints the Folder icon shown in Studio Explorer. Default: white. |
| `Visible` | boolean | When false, descendant BaseParts are not rendered. Default: true. |
| `CanCollide` | boolean | When false, descendant BaseParts do not participate in collision. Default: true. |

`Visible` and `CanCollide` act on descendants without changing the descendants' own `Transparency` or `CanCollide` values.

A descendant BasePart is visible or collidable only when its own properties and every containing Model or Folder allow that behavior.

## Hierarchy methods

| Name | Type | Description |
| --- | --- | --- |
| `FindFirstChild(name, recursive?)` | method | Find a child or descendant by name. |
| `GetChildren()` | method | Get direct children. |
| `GetDescendants()` | method | Get all descendants. |
| `Destroy()` | method | Destroy the Folder and its descendants. |

## Example

```luau
local folder = Instance.new("Folder")
folder.Name = "Generated"
folder.IconColour3 = Colour3.fromRGB(90, 170, 255)
folder.Parent = workspace

local part = Instance.new("Part")
part.Name = "GeneratedPart"
part.Parent = folder

folder.Visible = false
folder.CanCollide = false
```
