Browse Source

Merge pull request #67488 from Iniquitatis/patch-1

Yuri Rubinsky 3 years ago
parent
commit
0d28820c81
1 changed files with 1 additions and 1 deletions
  1. 1 1
      doc/classes/PropertyTweener.xml

+ 1 - 1
doc/classes/PropertyTweener.xml

@@ -27,7 +27,7 @@
 				Sets a custom initial value to the [PropertyTweener]. Example:
 				[codeblock]
 				var tween = get_tree().create_tween()
-				tween.tween_property(self, "position", Vector2(200, 100), 1).from(Vector2(100, 100) #this will move the node from position (100, 100) to (200, 100)
+				tween.tween_property(self, "position", Vector2(200, 100), 1).from(Vector2(100, 100)) #this will move the node from position (100, 100) to (200, 100)
 				[/codeblock]
 			</description>
 		</method>