Fix missing parenthesis in the documentation

This commit is contained in:
Dominus Iniquitatis 2022-10-16 15:36:32 +03:00 committed by GitHub
parent 767f8fb483
commit 0743e33407
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>