The program also crashes if you try to right-click with the line tool without placing a second point
it then opens a code error window with the following message
___________________________________________
############################################################################################
ERROR in
action number 1
of Step Event0
for object obj_draw_handler:
Pop :: Execution Error - Variable set failed being_drawn - read only variable?
at gml_Script_anon_gml_Object_obj_draw_handler_Create_0_1561_gml_Object_obj_draw_handler_Create_0
############################################################################################
gml_Script_anon_gml_Object_obj_draw_handler_Create_0_1561_gml_Object_obj_draw_handler_Create_0 (line -1)
gml_Object_obj_draw_handler_Step_0