Update Tween class documentation
This commit is contained in:
parent
6273ec901f
commit
2f8910185e
1 changed files with 3 additions and 3 deletions
|
@ -42401,7 +42401,7 @@
|
|||
Because it is easy to get it wrong, here is a quick usage example:
|
||||
[codeblock]
|
||||
var tween = get_node("Tween")
|
||||
tween.interpolate_property(get_node("Node2D_to_move"), "transform/pos", Vector2(0,0), Vector2(100,100), Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)
|
||||
tween.interpolate_property(get_node("Node2D_to_move"), "transform/pos", Vector2(0,0), Vector2(100,100), 1, Tween.TRANS_LINEAR, Tween.EASE_IN_OUT)
|
||||
tween.start()
|
||||
[/codeblock]
|
||||
Some of the methods of this class require a property name. You can get the property name by hovering over the property in the inspector of the editor.
|
||||
|
|
Loading…
Reference in a new issue