---
title: "Set Ability Charge"
description: "Player, Button, Charge count"
---

> 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 Charge

## Description

Set the Ability Charge Count for one or more Players if supported.

## Snippet

```
Set Ability Charge(Event Player, Button(Primary Fire), 0);
```

## Properties

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

> ==**Player**==
> _Type: **[Player](/constants/player/)** | **Array** (**Player**), Default: **[Event Player](/values/event-player/)**_
> The Player or Players whose ability charge count will be modified.

> ==**Button**==
> _Type: **Button**, Default: **Primary Fire**_
> The logical button associated with the Ability to be modified.

> ==**Charge Count**==
> _Type: **Integer**, Default: **0**_
> The Charge count that will be set.

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