# FrameAPINamePlate (widget methods): 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/FrameAPINamePlate

## Functions

### CanChangeHitTestPoints

```lua
canChangeHitTestPoints = self:CanChangeHitTestPoints()
```

Returns true if this nameplate permits changes to its hit-test points. Updates are normally blocked for tainted code during combat, except on the tick a unit is first assigned or when untainted code updates hit-test points on the same tick.

Returns:
- `canChangeHitTestPoints`: bool

### ClearAllHitTestPoints

```lua
self:ClearAllHitTestPoints()
```

Clears the anchor points that determine where the mouse interacts with the nameplate.

### GetHitTestPoints

```lua
anchors = self:GetHitTestPoints()
```

Returns the anchor points that determine where the mouse interacts with the nameplate.

Returns:
- `anchors`: AnchorBinding[]

### SetAllHitTestPoints

```lua
self:SetAllHitTestPoints(relativeTo)
```

Sets the anchor points that determine where the mouse interacts with the nameplate to fully encompass the target region.

Arguments:
- `relativeTo`: ScriptRegion

### SetHitTestPoints

```lua
self:SetHitTestPoints(anchors)
```

Sets the anchor points that determine where the mouse interacts with the nameplate.

Arguments:
- `anchors`: AnchorBinding[]. List of anchor points to use for hit testing. All existing points will be cleared.

### SetStackingBoundsFrame

```lua
self:SetStackingBoundsFrame(frame)
```

Arguments:
- `frame`: SimpleFrame

---
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."
