Parameterize the movement speed of the player.