diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml
index c03262bb33..57c351ce4a 100644
--- a/doc/classes/Vector2.xml
+++ b/doc/classes/Vector2.xml
@@ -270,7 +270,7 @@
- Returns the vector with a maximum length by limiting its length to [param length].
+ Returns the vector with a maximum length by limiting its length to [param length]. If the vector is non-finite, the result is undefined.
diff --git a/doc/classes/Vector3.xml b/doc/classes/Vector3.xml
index 4ab3140eb6..6483d96937 100644
--- a/doc/classes/Vector3.xml
+++ b/doc/classes/Vector3.xml
@@ -239,7 +239,7 @@
- Returns the vector with a maximum length by limiting its length to [param length].
+ Returns the vector with a maximum length by limiting its length to [param length]. If the vector is non-finite, the result is undefined.