godotengine / godotengine/godot-vscode-plugin
Editing Values for Vectors and Colors in the Inspector doesn't work
- Dominant language
- TypeScript
- Stars
- 2.1k
- Forks
- 257
- PR merge metrics
- No merged PRs in 30d
Description
### Godot version
3.4.4
### VS Code version
1.68.0
### Godot Tools VS Code extension version
1.3.1
### System information
Windows 10
### Issue description
I have a simple project where the godot icon bounces back and forth. I'm editing some of the values using the extension's Inspector, single value variables seem to work but not things like Vectors or Colors.

I have a world.gd script that looks like the following.
```
extends Node2D
var cycle: int = 1
var sprite = Sprite.new()
var direction: int = 1
func _ready():
print("Ready!")
sprite.texture = load("res://icon.png")
sprite.position.x = 100
sprite.position.y = 200
add_child(sprite)
func _process(delta):
sprite.position.x += 500 * direction * delta
if sprite.position.x >= 640:
direction = -1
if (sprite.position.x <= 0):
direction = 1
print(cycle)
cycle += 1
```
### Steps to reproduce
Attempt to edit values in the extensions Inspector.
Contributor guide
Assessment
This issue has not been assessed yet.