Changing dc motor speed

In this scenario i am trying to get a robot to drive in a square pattern.I am sure their is a better way but am new to this. I can’t figure out who to change motor speed. I can’t control how it turns it’s all or nothing.
xod

That depends on type of motor and how it is controlled. If you have just a regular motor with h- bridge controller, the standard solution for speed control is to use PWM node connected to a pin that supports it. 0 will be stop, 1 full speed, and 0.5 will be 1/2 speed.

xod