I used the set Lego® Friends Olivia's Hamster Playground 41383 to show you how to control the EV3 motor speed in Scratch.
The motor speed can be set in Scratch by the "Motor A set power block". In this block we can enter the power in percent or substitude a variable.
In the first examle I'm setting the power with the arrow keys.
In the second example I'm controling it by another motor.