diff --git a/tutorials/2d/2d_movement.rst b/tutorials/2d/2d_movement.rst index 404ea996d..b164e024f 100644 --- a/tutorials/2d/2d_movement.rst +++ b/tutorials/2d/2d_movement.rst @@ -261,7 +261,7 @@ on the screen will cause the player to move to the target location. public override void _PhysicsProcess(double delta) { - velocity = Position.DirectionTo(_target) * Speed; + Velocity = Position.DirectionTo(_target) * Speed; // LookAt(target); if (Position.DistanceTo(_target) > 10) {