Multiple motors moving when only one is called

In a VEXcode program, our team has a function for stacking cubes, which is called whenever we press the A button on the controller. However, our entire drivetrain moves whenever we have our tray lift move. We have no drivetrain declared in the program. Any ideas?

Debugging code without seeing it is nearly impossible.

If you could post your complete program in a reply (remembering to wrap it in [code]...[/code] tags for formatting), we will be much more able to help you.