# chaser\_getenginebaysize

Calculates and returns the current vehicle engine bay size, the vehicle class must be supported by C.H.A.S.E.R or else might produce unexpected results, can produce unexpected results on bad 3d models.

Example:

```lua
            if vehClass <= 7 or (vehClass >= 9 and vehClass < 13) or (vehClass >= 17 and vehClass <= 22) or vehClass == 8 then
                local size = chaser:chaser_getenginebaysize(vehicle,vehClass)
                if size > 0 and size < 100.0 then
                    print(size)
                end
            end
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://legacydmc.gitbook.io/chaser/get-exports/chaser_getenginebaysize.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
