mirror of
https://github.com/godotengine/godot.git
synced 2024-11-10 22:23:07 +00:00
Merge pull request #67488 from Iniquitatis/patch-1
This commit is contained in:
commit
0d28820c81
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user