• Hail Guest!
    We're looking for Community Content Contribuitors to Stratics. If you would like to write articles, fan fiction, do guild or shard event recaps, it's simple. Find out how in this thread: Community Contributions
  • Greetings Guest, Having Login Issues? Check this thread!
  • Hail Guest!,
    Please take a moment to read this post reminding you all of the importance of Account Security.
  • Hail Guest!
    Please read the new announcement concerning the upcoming addition to Stratics. You can find the announcement Here!

How to listen for a key being pressed in lua?

Nalif

Journeyman
Stratics Veteran
Stratics Legend
I have a button that does something when it's clicked by the left mouse button. I was to listen for a keypress ( alt ) and have that button do something else when alt is being held down. How can I do this?
 

Pinco

UOEC Modder
Stratics Veteran
Stratics Legend
it's all managed inside the client, there is a function but works only for hotbars and can't be modified.
 

Nalif

Journeyman
Stratics Veteran
Stratics Legend
Pssh. That's lame. Atleast you saved me a lot of time :) Thanks!
 
Top