Question: how much mechanical energy something has depends on?
Answer: Objects have mechanical energy if they are in motion and/or if they are at some position relative to a zero potential energy position (for example, a brick held at a vertical position above the ground or zero height position). A moving car possesses mechanical energy due to its motion (kinetic energy).