View Single Post
05/25/15, 12:04 PM   #1
JohnnyKing94
 
JohnnyKing94's Avatar
Join Date: Mar 2015
Posts: 45
Onkeydown handler

I want to know why with with the handler onkeydown there is no such propagation of the other binding events when i click any other keys that is not the "A" key??? what am i doing wrong?


Code:
MyPanel:SetHandler("OnKeyDown", function(self, key, ctrl, alt, shift, command) 
   if( key =="A")
      RUNNING NEXT LEVEL
   end
end)
  Reply With Quote