# SRoomFloor

**الأعضاء** 7

|       |                                   |                                                                      |
| ----- | --------------------------------- | -------------------------------------------------------------------- |
| خاصية | [Enabled](#enabled)               | Status of enable or disable room floor component                     |
| خاصية | [Name](#name)                     | Name of this floor                                                   |
| خاصية | [Description](#description)       | Description of this floor.                                           |
| خاصية | [IsDefaultFloor](#isdefaultfloor) | Is this default floor?                                               |
| خاصية | [Furniture](#furniture)           | Get all furniture game objects                                       |
| خاصية | [Owner](#owner)                   | Return the ID of the user account that owns this room floor, if any. |
| خاصية | [GameObject](#gameobject)         | –                                                                    |

## الخصائص

### Enabled

bool Enabled {get; set; }

Status of enable or disable room floor component

مثال

**Lua**

```lua
Space.Host.ExecutingObject.Floor.Enabled = false

```

### Name

string Name {get; }

Name of this floor

مثال

**Lua**

```lua
Space.Host.ExecutingObject.Floor.Name

```

### Description

string Description {get; }

Description of this floor.

مثال

**Lua**

```lua
floorDescription = Space.Host.ExecutingObject.Floor.Description

```

### IsDefaultFloor

bool IsDefaultFloor {get; }

Is this default floor?

مثال

**Lua**

```lua
isDefault = Space.Host.ExecutingObject.Floor.IsDefaultFloor

```

### Furniture

[SGameObject](/docs/ar/scripting/client-scripting-api-reference/types/sgameobject.md)\[] Furniture {get; }

Get all furniture game objects

مثال

**Lua**

```lua
furnitureInFloor = Space.Host.ExecutingObject.Floor.Furniture

```

### Owner

int Owner {get; }

Return the ID of the user account that owns this room floor, if any.

مثال

**Lua**

```lua
ownerID = Space.Host.ExecutingObject.Floor.Owner

```

### GameObject

[SGameObject](/docs/ar/scripting/client-scripting-api-reference/types/sgameobject.md) GameObject {get; }

مثال

**Lua**

```lua
theGameObject = Space.Host.ExecutingObject.Floor.GameObject

```
