> For the complete documentation index, see [llms.txt](https://legacydmc.gitbook.io/chaser/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/chaser/set-exports/chaser_setengine.md).

# chaser\_setengine

Args:\
engine -- The key in "enginedata.lua"\
checksize -- Set it to true if you want to consider if the engine fits the car\
showwarnings -- Set it to true if you want to display warnings/errors.\
\
Set’s the current vehicle weight, example:

{% content-ref url="/pages/lwW0axFo0wqPwY13kiHd" %}
[Engine Swapping](/chaser/fundamentals/engine-swapping.md)
{% endcontent-ref %}
