mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source
This commit is contained in:
@@ -193,7 +193,7 @@ An Animation resource contains data used to animate everything in the engine. An
|
||||
::
|
||||
|
||||
# This creates an animation that makes the node "Enemy" move to the right by
|
||||
# 100 pixels in 1 second.
|
||||
# 100 pixels in 1 second.
|
||||
var animation = Animation.new()
|
||||
var track_index = animation.add_track(Animation.TYPE_VALUE)
|
||||
animation.track_set_path(track_index, "Enemy:position.x")
|
||||
|
||||
Reference in New Issue
Block a user