> For the complete documentation index, see [llms.txt](https://legacydmc.gitbook.io/dynamic/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://legacydmc.gitbook.io/dynamic/exports/brake-exports/setbraketemp.md).

# setBrakeTemp

setBrakeTemp( temp\[float] )

Sets the brake temperature, potentially trigerring the glowing effect.

```lua
        local brakeTempPressed, inputText =  WarMenu.InputButton("Brake Temperature: ", "Temperature in C:", _inputText, 4,tostring(currentBrakeTemp)..'ºC')
        if WarMenu.IsItemHovered() then
            WarMenu.ToolTip('Press enter to input a value.',nil,true)
        end
        if brakeTempPressed then
            if inputText then
                if tonumber(inputText) == nil then
                    inputText = 25.0
                end
                dynamic:setBrakeTemp(inputText)        
            end
        end
```
