# Scripts

Official docs (opens new window)

Rivals uses many files, each with a different purpose. Different files are called at different times, and have access to different built-in variables.

You don't need to be familiar with all the scripts yet, but when adding new code, it helps to think about which script it fits best in.