mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
Removing one comment hash for style
Co-authored-by: Matthew <matthewehr@hotmail.com>
This commit is contained in:
@@ -275,7 +275,7 @@ movement. Let's place this code at the end of the ``_process()`` function:
|
||||
if velocity.x != 0:
|
||||
$AnimatedSprite2D.animation = "walk"
|
||||
$AnimatedSprite2D.flip_v = false
|
||||
## See the note below about the following boolean assignment.
|
||||
# See the note below about the following boolean assignment.
|
||||
$AnimatedSprite2D.flip_h = velocity.x < 0
|
||||
elif velocity.y != 0:
|
||||
$AnimatedSprite2D.animation = "up"
|
||||
|
||||
Reference in New Issue
Block a user