# C_ClickBindings: World of Warcraft Forever API

Forever 1.60.1 (70959), Interface 16001, Lua 5.1, from Blizzard's own API documentation. Page: https://wowaddons.gg/forever-api/C_ClickBindings

## Functions

### C_ClickBindings.CanSpellBeClickBound

```lua
canBeBound = C_ClickBindings.CanSpellBeClickBound(spellID)
```

Arguments:
- `spellID`: SpellIdentifier. Base spellID for spell, spellID for PetAction

Returns:
- `canBeBound`: bool

### C_ClickBindings.ExecuteBinding

```lua
C_ClickBindings.ExecuteBinding(targetToken, button, modifiers)
```

Arguments:
- `targetToken`: cstring
- `button`: cstring
- `modifiers`: number

### C_ClickBindings.GetBindingType

```lua
type = C_ClickBindings.GetBindingType(button, modifiers)
```

Arguments:
- `button`: cstring
- `modifiers`: number

Returns:
- `type`: ClickBindingType

### C_ClickBindings.GetEffectiveInteractionButton

```lua
effectiveButton = C_ClickBindings.GetEffectiveInteractionButton(button, modifiers)
```

Arguments:
- `button`: cstring
- `modifiers`: number

Returns:
- `effectiveButton`: cstring

### C_ClickBindings.GetProfileInfo

```lua
infoVec = C_ClickBindings.GetProfileInfo()
```

Returns:
- `infoVec`: ClickBindingInfo[]

### C_ClickBindings.GetTutorialShown

```lua
tutorialShown = C_ClickBindings.GetTutorialShown()
```

Returns:
- `tutorialShown`: bool

### C_ClickBindings.ResetCurrentProfile

```lua
C_ClickBindings.ResetCurrentProfile()
```

### C_ClickBindings.SetProfileByInfo

```lua
C_ClickBindings.SetProfileByInfo(infoVec)
```

Arguments:
- `infoVec`: ClickBindingInfo[]

### C_ClickBindings.SetTutorialShown

```lua
C_ClickBindings.SetTutorialShown()
```

## Events

### CLICKBINDINGS_SET_HIGHLIGHTS_SHOWN

Payload, after the event's name:
- `showHighlights`: bool

---
Make an addon with your AI: tell it "Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it."
