if is_active && get_parent().rect_position != Vector2(540, get_parent().rect_position.y): #Error in this Line
print("error_1")
get_parent().rect_position = Vector2(540, get_parent().rect_position.y)
Error Message: Invalid Operands 'Vector2' and float in operator '!='.