-
- Notifications
You must be signed in to change notification settings - Fork 97
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Like in the title. Given this example script:
class_name Player extends CharacterBody2D @export var speed = 80.0 @onready var animated_sprite := $AnimatedSprite2D func _physics_process(_delta): velocity = Vector2(Input.get_axis("left", "right"), Input.get_axis("top", "down")) * speed if velocity.x < 0: animated_sprite.scale.x = abs(animated_sprite.scale.x) * -1 elif velocity.x > 0: animated_sprite.scale.x = abs(animated_sprite.scale.x) if velocity.x != 0 or velocity.y != 0: animated_sprite.play("walk") else: animated_sprite.play("idle") move_and_slide() I'm getting those weird errors when trying to run the Organize script command in VSCode:
Additional info
- VSCode extension version
1.2.3 - Toolkit version:
4.0.1 - Format document works fine
- I can't find any errors in the output console
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Projects
Status
Done
