# Punch Bar

{% embed url="https://www.youtube.com/watch?v=bfSmOXBBPjc" %}

### Example

```lua
RegisterCommand("fishingmeter",function()
    local data = {
        setLeftMeterColor = `COLOR_BLUE`,
        setRightMeterColor = `COLOR_RED`,
        visible = true,
        setLeftMeter = 0,
        setRightMeter = 0,
    }
    local meter = exports["qadr_ui"]:fishingmeter(data)

    local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
    local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
    local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
    local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
        local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
        local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
        local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
        local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
        local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
        local data = {    
        setLeftMeter = math.random(0,50),
        setRightMeter = math.random(0,50),
    }
    meter:update(data)
    print("wait",Wait(math.random(1000,3000)))
    meter:clear()
end)ou
```

```
"fishingmeter",
"startCountDown",
```
