---
title: "Set Ability 2 Enabled"
description: "Player, Enabled"
---

> Documentation Index
> Fetch the complete documentation index at: https://wiki.wrightkit.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Set Ability 2 Enabled

## Description

Enables or disables ability 2 for one or more players.

## Snippet

```
Set Ability 2 Enabled(Event Player, True);
```

## Properties

**Returns**: _<span style="color: #c678dd">Void</span>_
**Parameters**: ==_Player_==, ==_Enabled_==

> ==**Player**==
> _Type: **[Player](/constants/player/)** | **Array** (**Player**), Default: **[Event Player](/values/event-player/)**_
> The player or players whose access to ability 2 is affected.

> ==**Enabled**==
> _Type: **Boolean**, Default: **[True](/values/true/)**_
> Specifies whether the player or players are able to use ability 2. Expects a boolean value such as true, false, or compare.

Source: https://wiki.wrightkit.dev/actions/set-ability-2-enabled/index.mdx
