C
Creez
Guest
I'm relatively new to GML so I apologize for what is most likely a stupid question, however even after looking through the documentation I've hit a wall.
I am looking to bind the left mouse click to an action called 'interact_key'. I tried something like this and it doesn't work. Any help would be greatly appreciated!
I am looking to bind the left mouse click to an action called 'interact_key'. I tried something like this and it doesn't work. Any help would be greatly appreciated!
GML:
if(instance_number(obj_textevent)>1 or instance_number(obj_textbox)>1){ instance_destroy(); exit; }
//-----------Customise (FOR USER)
interact_key = mouse_check_button_pressed(mb_left);
up_key = vk_up; //for dialogue choices
down_key = vk_down; //for dialogue choices