Notifications
Clear all

[Closed] key + control or space or… how to detect that

ok i have a script that is got assinged to a key inmy case the “s” key.

I Will like my script to behave diferent depending if i have mykey +ctrl,
my key+alt or my mykey, or the key alone.

How cna i do this by maxscript i tried but without luck.

2 Replies

I found this:

keyboard.shiftPressed
keyboard.altPressed
keyboard.escPressed
keyboard.controlPressed

so something like:

if keyboard.altPressed == true then

work perfeclty thanks for the tip . couldnt find it on the help.