# Workspace

Workspace : `WorldRoot`

## Overview

Workspace는 게임 세계에서 실시간으로 렌더링되고 상호작용해야 하는 요소들을 보관하는 핵심 컨테이너입니다.

여기에 배치된 객체들은 즉시 활성화되어 게임에 반영되며, BasePart는 Anchored 속성에 따라 물리 엔진의 영향을 받고, BillboardGui, PointLight, ParticleEmitter 등 시각 효과 요소들은 부착된 위치에서 화면에 표시됩니다.

단, ParticleEmitter, BillboardGui, PointLight 등 특정 객체에 종속되어야 하는 요소들이 Workspace에 직접 배치되면, 기본 위치인 (0, 0, 0)에 출력되므로 주의해야 합니다.

총알처럼 게임 플레이 중 특정 시점에만 등장해야 하는 객체는 Workspace 외부에서 미리 관리하는 것이 일반적이며, 목적에 따라 ReplicatedStorage나 ServerStorage에 보관할 수 있습니다.

## Properties

### CurrentCamera

`Camera`

로컬 플레이어에게 설정된 현재 카메라 객체입니다.

#### Code Samples

```lua
local Workspace = game:GetService("Workspace")
local CurrentCamera = Workspace.CurrentCamera

print(CurrentCamera)
```

### Gravity

`number`

게임 세계의 중력을 초당 제곱 미터 단위로 설정하는 속성이며, 기본값은 980입니다.

값이 낮을수록 약한 중력이 적용되며, 값이 높을수록 강한 중력이 적용됩니다.

#### Code Samples

```lua
local Workspace = game:GetService("Workspace")
Workspace.Gravity = 10000
```

### HitboxType

`Enum.HitboxType`

캐릭터의 피격 판정 단위를 설정하는 속성입니다.

이 속성은 동적으로는 변경할 수 없습니다.

#### Code Samples

## Methods

### GetServerTimeNow

현재 지원되지 않습니다.

#### Parameters

#### Return

| `number` | 현재 서버 시간을 Unix 시간(초) 기준으로 반환합니다. |
| -------- | -------------------------------- |

#### Code Samples

## Events


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overdare.com/korean/development/api-reference/classes/workspace.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
