summaryrefslogtreecommitdiff
path: root/MoveTile.gd
diff options
context:
space:
mode:
Diffstat (limited to 'MoveTile.gd')
-rw-r--r--MoveTile.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/MoveTile.gd b/MoveTile.gd
index 6d81167..bb74eba 100644
--- a/MoveTile.gd
+++ b/MoveTile.gd
@@ -15,6 +15,6 @@ func _on_Area2D_input_event(_viewport, event, _shape_idx):
func set_color(color):
if color == "blue":
- color = blue
+ $Rect.color = blue
elif color == "red":
- color = red
+ $Rect.color = red