diff --git a/doc/classes/CharacterBody2D.xml b/doc/classes/CharacterBody2D.xml
index 30438be18b7..1807d51db09 100644
--- a/doc/classes/CharacterBody2D.xml
+++ b/doc/classes/CharacterBody2D.xml
@@ -166,7 +166,7 @@
If [code]false[/code], the body will slide on floor's slopes when [member velocity] applies a downward force.
- Maximum number of times the body can change direction before it stops when calling [method move_and_slide].
+ Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. Must be greater than zero.
Sets the motion mode which defines the behavior of [method move_and_slide]. See [enum MotionMode] constants for available modes.
diff --git a/doc/classes/CharacterBody3D.xml b/doc/classes/CharacterBody3D.xml
index 474adfc6ffe..3871aa3746a 100644
--- a/doc/classes/CharacterBody3D.xml
+++ b/doc/classes/CharacterBody3D.xml
@@ -157,7 +157,7 @@
If [code]false[/code], the body will slide on floor's slopes when [member velocity] applies a downward force.
- Maximum number of times the body can change direction before it stops when calling [method move_and_slide].
+ Maximum number of times the body can change direction before it stops when calling [method move_and_slide]. Must be greater than zero.
Sets the motion mode which defines the behavior of [method move_and_slide]. See [enum MotionMode] constants for available modes.