diff --git a/doc/classes/Vector2.xml b/doc/classes/Vector2.xml
index 630dfe67e81..e9ddf57355a 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 63ad143c14f..dd86c4b2874 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.