# OptionsHelper.SkinOptionsHelper

`com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper`

Skin model-part visibility and main-hand settings.  
 ```js
const options = Client.getGameOptions();  
options.skin.isCapeActivated();  
 ```

Nested type declared in [OptionsHelper](OptionsHelper.md).

## Constructors

### new OptionsHelper.SkinOptionsHelper {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_constructor-OptionsHelper-}

```js
new OptionsHelper.SkinOptionsHelper(OptionsHelper optionsHelper, OptionsHelper OptionsHelper)
```

Stores the supplied parent reference; settings methods use the enclosing `OptionsHelper` instance, which may differ.

**Parameters:**
- `OptionsHelper`: parent helper reference to retain

## Fields

### parent {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_parent}

```js
parent: OptionsHelper
```

The options helper that owns this settings group.

**Since:** 1.8.4

## Methods

### getParent {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_getParent-}

```js
getParent(): OptionsHelper
```

**Returns:** the parent options helper.

**Since:** 1.8.4

### isCapeActivated {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_isCapeActivated-}

```js
isCapeActivated(): boolean
```

**Returns:** `true` if the player's cape should be shown, `false` otherwise.

**Since:** 1.8.4

### isHatActivated {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_isHatActivated-}

```js
isHatActivated(): boolean
```

**Returns:** `true` if the player's hat should be shown, `false` otherwise.

**Since:** 1.8.4

### isJacketActivated {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_isJacketActivated-}

```js
isJacketActivated(): boolean
```

**Returns:** `true` if the player's jacket should be shown, `false` otherwise.

**Since:** 1.8.4

### isLeftHanded {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_isLeftHanded-}

```js
isLeftHanded(): boolean
```

**Returns:** `true` if the player's main hand is the left one, `false` otherwise.

**Since:** 1.8.4

### isLeftPantsActivated {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_isLeftPantsActivated-}

```js
isLeftPantsActivated(): boolean
```

**Returns:** `true` if the player's left pants should be shown, `false`
otherwise.

**Since:** 1.8.4

### isLeftSleeveActivated {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_isLeftSleeveActivated-}

```js
isLeftSleeveActivated(): boolean
```

**Returns:** `true` if the player's left sleeve should be shown, `false`
otherwise.

**Since:** 1.8.4

### isRightHanded {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_isRightHanded-}

```js
isRightHanded(): boolean
```

**Returns:** `true` if the player's main hand is the right one, `false`
otherwise.

**Since:** 1.8.4

### isRightPantsActivated {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_isRightPantsActivated-}

```js
isRightPantsActivated(): boolean
```

**Returns:** `true` if the player's right pants should be shown, `false`
otherwise.

**Since:** 1.8.4

### isRightSleeveActivated {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_isRightSleeveActivated-}

```js
isRightSleeveActivated(): boolean
```

**Returns:** `true` if the player's right sleeve should be shown, `false`
otherwise.

**Since:** 1.8.4

### toggleCape {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_toggleCape-boolean-}

```js
toggleCape(boolean val): OptionsHelper.SkinOptionsHelper
```

**Parameters:**
- `val`: whether the cape should be shown or not

**Returns:** self for chaining.

**Since:** 1.8.4

### toggleHat {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_toggleHat-boolean-}

```js
toggleHat(boolean val): OptionsHelper.SkinOptionsHelper
```

Sets whether the hat is shown.

**Parameters:**
- `val`: `true` to show the hat; `false` to hide it

**Returns:** self for chaining.

**Since:** 1.8.4

### toggleJacket {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_toggleJacket-boolean-}

```js
toggleJacket(boolean val): OptionsHelper.SkinOptionsHelper
```

**Parameters:**
- `val`: whether the jacket should be shown or not

**Returns:** self for chaining.

**Since:** 1.8.4

### toggleLeftPants {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_toggleLeftPants-boolean-}

```js
toggleLeftPants(boolean val): OptionsHelper.SkinOptionsHelper
```

Sets whether the left pants leg is shown.

**Parameters:**
- `val`: `true` to show the pants leg; `false` to hide it

**Returns:** self for chaining.

**Since:** 1.8.4

### toggleLeftSleeve {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_toggleLeftSleeve-boolean-}

```js
toggleLeftSleeve(boolean val): OptionsHelper.SkinOptionsHelper
```

Sets whether the left sleeve is shown.

**Parameters:**
- `val`: `true` to show the sleeve; `false` to hide it

**Returns:** self for chaining.

**Since:** 1.8.4

### toggleMainHand {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_toggleMainHand-String-}

```js
toggleMainHand(String hand): OptionsHelper.SkinOptionsHelper
```

Sets the main hand. The value is case-insensitive; only `"left"` selects the left hand,  
and any other value selects the right hand.

**Parameters:**
- `hand`: the requested hand

**Returns:** self for chaining.

**Since:** 1.8.4

### toggleRightPants {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_toggleRightPants-boolean-}

```js
toggleRightPants(boolean val): OptionsHelper.SkinOptionsHelper
```

Sets whether the right pants leg is shown.

**Parameters:**
- `val`: `true` to show the pants leg; `false` to hide it

**Returns:** self for chaining.

**Since:** 1.8.4

### toggleRightSleeve {#com.jsmacrosce.jsmacros.client.api.helper.OptionsHelper.SkinOptionsHelper_toggleRightSleeve-boolean-}

```js
toggleRightSleeve(boolean val): OptionsHelper.SkinOptionsHelper
```

Sets whether the right sleeve is shown.

**Parameters:**
- `val`: `true` to show the sleeve; `false` to hide it

**Returns:** self for chaining.

**Since:** 1.8.4
