Flywheel Coding Help

I’m coding with VCS, using v5. I was wondering if there was a way to code a velocity switch while the flywheel is spinning. There is a motor.setVelocity command but when I use it, the flywheel stops completely then goes up to the newly set velocity. So, is there a way to code it where it changes in one continuous motion rather than stopping completely?

Im probably not going to be your guy for coding questions, but could you not just use motor.spin and set the velocity that way?