So i just got game maker studio 2 working on my iphone and now i am trying to add in touch screen input. I read a little about virtual keys in the manual, and this is the code i have used:
but i touch the screen and it doesnt do anything...... so, i am kinda clueless about how to program in touch input for ios. Thanks for the help!
keyShoot = virtual_key_add((window_get_width()-160), (window_get_fullscreen()-160), 160, 160, vk_space);