> For the complete documentation index, see [llms.txt](https://docs.easy.gg/scripting/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.easy.gg/scripting/bedwars-scripting/objects/model.md).

# Model

For examples on how to use, check [ModelService](/scripting/bedwars-scripting/services/modelservice.md).

### Parameters

#### modelName: [ModelType](/scripting/bedwars-scripting/types/modeltype.md)

Name of the model to be imported

***

### Functions

#### setPosition(position: [Vector3](https://create.roblox.com/docs/reference/engine/datatypes/Vector3))

Sets the position of the model.

#### getPosition(): [Vector3](https://create.roblox.com/docs/reference/engine/datatypes/Vector3)

Returns the position of the model.

#### setRotation(rotation: [Vector3](https://create.roblox.com/docs/reference/engine/datatypes/Vector3))

Sets the rotation of the model.

#### getRotation(): [Vector3](https://create.roblox.com/docs/reference/engine/datatypes/Vector3)

Returns the rotation of the model.

#### setCFrame(cframe: [CFrame](https://create.roblox.com/docs/reference/engine/datatypes/CFrame))

Sets the CFrame of the model to the specified CFrame.

#### getCFrame(): [CFrame](https://create.roblox.com/docs/reference/engine/datatypes/CFrame)

Returns the CFrame of the model.

#### setScale(scale: number)

Sets the scale of the model.

#### getScale(): number

Returns the scale of the model.

#### setCollidable(collidable: boolean)

Sets whether the model should collide with other models, blocks, and players. Defaults to true on creation.

#### setAnchored(anchored: boolean)

Sets whether the model should have physics applied to it. Defaults to true on creation.

#### setTransparency(transparency: number)

Sets the transparency of the model. Transparency ranges from 0 (opaque) to 1 (invisible).

#### destroy()

Destroys the model.
