EXP programming and built -in encoders

I have taught beginning robotics using RobotC for many years. This year, we have updated to the EXP bundles.

With RobotC, we could write code using If-Else statements which would have the robots compare the encoder for one drive motor to that of the other encoder. This allowed the robot to straighten itself while moving forward. The new EXP bots still drift left or right when moving forward and I wanted to see if there is way to incorporate similar coding into the new programing software? Thanks.