# PRIM_TYPE_SPHERE

*LSL constant*

```lsl
integer PRIM_TYPE_SPHERE = 3;
```

Constant groups: [PrimType](/constants/groups/PrimType/)

`PRIM_TYPE_SPHERE` is a parameter of [PRIM_TYPE](/constants/PRIM_TYPE/) used to make prim into a sphere and to change specific properties that define the shape of that sphere.

## Examples

<details open>
<summary>Example 1</summary>

```lsl
// this makes a simple sphere
vector cut = <0.0, 1.0, 0.0>;      // 0.0 to 1.0
float hollow = 0.0;                // 0.0 to 0.95
vector twist = <0.0, 0.0, 0.0>;    // -1.0 to 1.0
vector dimple = <0.0, 1.0, 0.0>;   // 0.0 to 1.0
llSetPrimitiveParams( [PRIM_TYPE, PRIM_TYPE_SPHERE, PRIM_HOLE_DEFAULT,
                        cut, hollow, twist, dimple ]  );
```

</details>

## See also

### Constants

| Constant | Type | Value | Description |
| --- | --- | --- | --- |
| [PRIM_TYPE](/constants/PRIM_TYPE/) |  |  |  |
| [CHANGED_SHAPE](/constants/CHANGED_SHAPE/) |  |  |  |

### Functions

- [llGetPrimitiveParams](/functions/llGetPrimitiveParams/)

### Events

- [changed](/events/changed/)

---

*Source: [PRIM TYPE SPHERE](https://wiki.secondlife.com/wiki/PRIM_TYPE_SPHERE) on the Second Life Wiki. Content from the Second Life Wiki article PRIM TYPE SPHERE (revision 1194702, 2015-01-24), CC BY-SA 3.0.*

---

From lsl.dev: https://lsl.dev/constants/PRIM_TYPE_SPHERE/
