Explorar o código

Merge pull request #67488 from Iniquitatis/patch-1

Yuri Rubinsky %!s(int64=3) %!d(string=hai) anos
pai
achega
0d28820c81
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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:
 				Sets a custom initial value to the [PropertyTweener]. Example:
 				[codeblock]
 				[codeblock]
 				var tween = get_tree().create_tween()
 				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]
 				[/codeblock]
 			</description>
 			</description>
 		</method>
 		</method>