> For the complete documentation index, see [llms.txt](https://abdulkadir-aktas.gitbook.io/qadr_docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://abdulkadir-aktas.gitbook.io/qadr_docs/qadr_ui/fish-ui/bait-ui.md).

# Bait UI

### Video

{% embed url="<https://youtu.be/N5teB5pkogA>" %}

### Lure Texture

```lua
local LureTexture = -973584697
if bait =="p_finisheDragonfly01x"
or bait =="p_finisdFishlure01x"
or bait =="p_finishedragonflylegendary01x"
or bait =="p_finisdfishlurelegendary01x"
or bait =="p_finishdcrawdlegendary01x"
or bait =="p_lgoc_spinner_v4"
or bait =="p_finishdCrawd01x"  then
    LureTexture = 1048406616
end
```

### Example

```lua
RegisterCommand("createFishUI",function()
    local fishData = {
        LureName = "LureName",
        LureCount = "LureCount",
        LureTexture = -973584697,
        put_away_fishingrod_visible = true,
        isVisible = true,
    }
    local fishUI = exports["qadr_ui"]:createFishUI(fishData)
    Wait(3000)
    local fishData = {
        LureName = "LureName",
        LureCount = "10",
        LureTexture = 1048406616,
        put_away_fishingrod_visible = true,
        isVisible = true,
    }
    fishUI:update(fishData)
    Wait(3000)
    local fishData = {
        LureCount = "100",
    }
    fishUI:update(fishData)
end)
```
