playerMovement and on/off switch