I am geting a Parser error saying that "dragmouse" isnt decleard in the curent scope new to this please help

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ForgottenStar

I am going along with a video on how to do a simple drag and drop in Godot but this error keeps showing up and this being my first time using Godot I have no clue how to solve it. the line I am not getting to work is line (8,1) thanks in advance

var dragMouse = false

func _ready():

func _process(delta):

func _on_Area2D_input_event(viewport, event, shape_idx):

if Input is InputEventMouseButton:
	if event. is_pressed():
		dragMouse = true
	Dragmouse = false
pass # Replace with function body.
:bust_in_silhouette: Reply From: kidscancode

Capitalization counts. You’ve spelled it three different ways in that code: dragMouse, dragmouse, and Dragmouse. Pick one spelling and stick to it.