hey guys,
as the title states im looking for a way to make an button function different when the ctrl or alt is held. is it possible? if so can you give an example?
thx
make buttons have a ctrl+click or an alt+click
Started by itsosmpl, Jun 12 2012 03:56 PM
1 reply to this topic
#1
Posted 12 June 2012 - 03:56 PM
#2
Posted 12 June 2012 - 03:59 PM
Simple;in the step event
if keyboard_check(vk_alt) and keyboard_check(mb_left)
{
//your code
}
if keyboard_check(vk_control) and keyboard_check(mb_left)
{
//your code
}please click the green circle with a + at the end of this post if u find it helpful.
Edited by ZyklonMiraj, 12 June 2012 - 04:01 PM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











